Browse Source

[PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory

Patch from Tony Lindgren

This patch by Paul Mundt and other OMAP developers
moves OMAP1 specific LED code into mach-omap1 directory.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tony Lindgren 20 years ago
parent
commit
6f3e14163e

+ 0 - 0
arch/arm/mach-omap/leds-h2p2-debug.c → arch/arm/mach-omap1/leds-h2p2-debug.c


+ 0 - 0
arch/arm/mach-omap/leds-innovator.c → arch/arm/mach-omap1/leds-innovator.c


+ 0 - 4
arch/arm/mach-omap/leds-osk.c → arch/arm/mach-omap1/leds-osk.c

@@ -129,14 +129,11 @@ void osk_leds_event(led_event_t evt)
 
 
 #ifdef	CONFIG_FB_OMAP
 #ifdef	CONFIG_FB_OMAP
 
 
-#ifdef CONFIG_LEDS_TIMER
 	case led_timer:
 	case led_timer:
 		hw_led_state ^= TIMER_LED;
 		hw_led_state ^= TIMER_LED;
 		mistral_setled();
 		mistral_setled();
 		break;
 		break;
-#endif
 
 
-#ifdef CONFIG_LEDS_CPU
 	case led_idle_start:
 	case led_idle_start:
 		hw_led_state |= IDLE_LED;
 		hw_led_state |= IDLE_LED;
 		mistral_setled();
 		mistral_setled();
@@ -146,7 +143,6 @@ void osk_leds_event(led_event_t evt)
 		hw_led_state &= ~IDLE_LED;
 		hw_led_state &= ~IDLE_LED;
 		mistral_setled();
 		mistral_setled();
 		break;
 		break;
-#endif
 
 
 #endif	/* CONFIG_FB_OMAP */
 #endif	/* CONFIG_FB_OMAP */
 
 

+ 0 - 0
arch/arm/mach-omap/leds.c → arch/arm/mach-omap1/leds.c


+ 0 - 0
arch/arm/mach-omap/leds.h → arch/arm/mach-omap1/leds.h