Add support for HTC Typhoon leds.
Subsystems (3)
PATCH 10/12 Add support for HTC Typhoon leds.
This patch add support for the HTC Typhoon tricolor led.
Signed-off-by Vivien Chappelier <[email protected]>
--- arch/arm/mach-omap1/Makefile | 1 + arch/arm/mach-omap1/leds-typhoon.c | 184 ++++++++++++++++++++++++++++++++++++ arch/arm/mach-omap1/leds.c | 3 + arch/arm/mach-omap1/leds.h | 1 + 4 files changed, 189 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap1/leds-typhoon.c
arch/arm/mach-omap1/Makefile +1 -0
@@ -46,4 +46,5 @@ led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o +led-$(CONFIG_MACH_TYPHOON) += leds-typhoon.o obj-$(CONFIG_LEDS) += $(led-y)
arch/arm/mach-omap1/leds-typhoon.c new file +184 -0
184 lines not on this page · raw message
arch/arm/mach-omap1/leds.c +3 -0
@@ -28,6 +28,9 @@ omap_leds_init(void)else if (machine_is_omap_osk ()) leds_event = osk_leds_event; +else if (machine_is_typhoon ()) + leds_event = typhoon_leds_event; +else return -1 ;
arch/arm/mach-omap1/leds.h +1 -0
@@ -1,3 +1,4 @@extern void innovator_leds_event (led_event_t evt);extern void h2p2_dbg_leds_event (led_event_t evt);extern void osk_leds_event (led_event_t evt); +extern void typhoon_leds_event (led_event_t evt);
Signature · 1 line
1.5.1.3