linux-kernel-test/arch/arm/mach-ep93xx
H Hartley Sweeten a1eacd79a6 arm: ep93xx: use gpio_led_register_device
Use gpio_led_register_device to register the two leds
connected to the ep93xx.

Since this is a common feature for all ep93xx based boards,
create a new Kconfig option, EP93XX_SOC_COMMON, to select
the LEDS_GPIO_REGISTER feature.

The struct gpio_led and struct gpio_led_platform_data variables
have been changed to const struct because of:

commit 9517f925f2
	leds: make *struct gpio_led_platform_data.leds const

They have also been marked as __initconst because the helper
function gpio_led_register_device makes a deep copy of the
platform data to allow it to live in init memory:

commit 4440673a95
	leds: provide helper to register "leds-gpio" devices

Signed-off-by: Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
2012-04-12 09:38:15 +10:00
..
include/mach ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
adssphere.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
clock.c ep93xx: Make syscon access functions private to SoC 2012-03-14 11:43:06 +11:00
core.c arm: ep93xx: use gpio_led_register_device 2012-04-12 09:38:15 +10:00
crunch-bits.S ep93xx: Move crunch code to mach-ep93xx directory 2012-03-14 11:43:10 +11:00
crunch.c ep93xx: Remove unnecessary includes of ep93xx-regs.h 2012-03-14 11:43:13 +11:00
dma.c ep93xx: Move peripheral defines to local SoC header 2012-03-14 11:42:27 +11:00
edb93xx.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
gesbc9312.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
Kconfig arm: ep93xx: use gpio_led_register_device 2012-04-12 09:38:15 +10:00
Makefile ep93xx: Move crunch code to mach-ep93xx directory 2012-03-14 11:43:10 +11:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
micro9.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
simone.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
snappercl15.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
soc.h ep93xx: Remove unnecessary includes of ep93xx-regs.h 2012-03-14 11:43:13 +11:00
ts72xx.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
vision_ep9307.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00