linux-sg2042/arch/arm/mach-at91
Justin Waters d0176f612f [ARM] 5445/1: AT91: Remove flexible array from USBH platform data
The flexible array in the USBH platform data is not safe to copy.  The
compiler will not allocate any extra memory for the non-init platform
data structure (in the *_devices.c files) since it isn't given any
defaults at compile time.  When the probe function attempts to address
that array, it will actually attempt to access data in an adjacent
structure.

Since there are currently no (known) implementations of the at91 USBH
IP with more than 2 vbus pins, I am capping the value at 2.  If somebody
tries to assign more, then the compiler will produce a warning.

Signed-off-by: Justin Waters <justin.waters@timesys.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-04-08 20:36:16 +01:00
..
include/mach [ARM] 5445/1: AT91: Remove flexible array from USBH platform data 2009-04-08 20:36:16 +01:00
Kconfig [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
Makefile [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91cap9.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91cap9_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91rm9200.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91rm9200_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_time.c Merge branch 'cpus4096-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-01-02 11:44:09 -08:00
at91sam9rl.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9rl_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam926x_time.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
at91sam9260.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9260_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9261.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9261_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9263.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9263_devices.c AT91: initialize Compact Flash on AT91SAM9263 cpu 2009-03-05 16:10:58 +01:00
at91x40.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91x40_time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
board-1arm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-afeb-9260v1.c [ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure 2008-10-30 15:43:42 +00:00
board-cam60.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-cap9adk.c [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
board-carmeva.c [ARM] 5261/1: [AT91] Support for LEDs on Conitec ARM&EVA board 2008-09-29 15:46:03 +01:00
board-csb337.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-csb637.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-dk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eb01.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-eb9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ecbat91.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-kafa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-kb9202.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-neocore926.c [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
board-picotux200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-qil-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9-l9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9g20ek.c [ARM] 5399/1: [AT91] Configure MCLK and SSC for AT91SAMG20-EK 2009-02-21 16:39:40 +00:00
board-sam9rlek.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
board-sam9260ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9261ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9263ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9263.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-yl-9200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
clock.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 5373/2: Add gpiolib support to AT91 2009-02-12 10:45:08 +00:00
gpio.c Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel 2009-03-13 21:44:51 +00:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds.c [ARM] 5267/1: [AT91] Name conflict in mach-at91/leds.c 2008-09-29 15:46:26 +01:00
pm.c [ARM] 5441/1: Use pr_err on error paths in at91 pm 2009-04-01 22:18:19 +01:00
pm_slowclock.S [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
sam9_smc.c [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00
sam9_smc.h [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00