linux-sg2042/arch/arm/plat-orion/include/plat
Arnd Bergmann fe158a17c1 ARM: orion: simplify orion_ge00_switch_init
One of the last users of NO_IRQ on ARM is the switch initialization
code on orion5x, which sometimes passes a GPIO based IRQ number.

However, the driver doesn't actually use this number, and according
to Andrew Lunn never will do it for non-DT based machines, so
we can simply drop the irq argument.

Simplifying it further, we can also drop the static platform_device
and instead call platform_device_register_data(), which in turn
lets us mark the platform_data structures as __initdata and slightly
reduce the memory consumption.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-09-14 16:36:13 +02:00
..
addr-map.h arm: plat-orion: Add coherency attribute when setup mbus target 2012-11-21 17:07:49 +01:00
common.h ARM: orion: simplify orion_ge00_switch_init 2016-09-14 16:36:13 +02:00
irq.h ARM: orion: remove no longer needed DT IRQ code 2014-04-26 19:45:26 +00:00
mpp.h arm: plat-orion: use void __iomem pointers for MPP functions 2012-09-21 18:04:24 +00:00
orion-gpio.h leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
pcie.h ARM: Orion: Get address map from plat-orion instead of via platform_data 2011-12-13 18:46:55 -05:00
time.h arm: plat-orion: use void __iomem pointers for time functions 2012-09-21 18:04:39 +00:00