From 6f3e14163e066a6f43a54098a12185f25400fd68 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Sun, 10 Jul 2005 19:58:10 +0100 Subject: [PATCH] [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 Signed-off-by: Russell King --- arch/arm/{mach-omap => mach-omap1}/leds-h2p2-debug.c | 0 arch/arm/{mach-omap => mach-omap1}/leds-innovator.c | 0 arch/arm/{mach-omap => mach-omap1}/leds-osk.c | 4 ---- arch/arm/{mach-omap => mach-omap1}/leds.c | 0 arch/arm/{mach-omap => mach-omap1}/leds.h | 0 5 files changed, 4 deletions(-) rename arch/arm/{mach-omap => mach-omap1}/leds-h2p2-debug.c (100%) rename arch/arm/{mach-omap => mach-omap1}/leds-innovator.c (100%) rename arch/arm/{mach-omap => mach-omap1}/leds-osk.c (98%) rename arch/arm/{mach-omap => mach-omap1}/leds.c (100%) rename arch/arm/{mach-omap => mach-omap1}/leds.h (100%) diff --git a/arch/arm/mach-omap/leds-h2p2-debug.c b/arch/arm/mach-omap1/leds-h2p2-debug.c similarity index 100% rename from arch/arm/mach-omap/leds-h2p2-debug.c rename to arch/arm/mach-omap1/leds-h2p2-debug.c diff --git a/arch/arm/mach-omap/leds-innovator.c b/arch/arm/mach-omap1/leds-innovator.c similarity index 100% rename from arch/arm/mach-omap/leds-innovator.c rename to arch/arm/mach-omap1/leds-innovator.c diff --git a/arch/arm/mach-omap/leds-osk.c b/arch/arm/mach-omap1/leds-osk.c similarity index 98% rename from arch/arm/mach-omap/leds-osk.c rename to arch/arm/mach-omap1/leds-osk.c index f5177f430793..4a0e8b9d4fc3 100644 --- a/arch/arm/mach-omap/leds-osk.c +++ b/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_LEDS_TIMER case led_timer: hw_led_state ^= TIMER_LED; mistral_setled(); break; -#endif -#ifdef CONFIG_LEDS_CPU case led_idle_start: hw_led_state |= IDLE_LED; mistral_setled(); @@ -146,7 +143,6 @@ void osk_leds_event(led_event_t evt) hw_led_state &= ~IDLE_LED; mistral_setled(); break; -#endif #endif /* CONFIG_FB_OMAP */ diff --git a/arch/arm/mach-omap/leds.c b/arch/arm/mach-omap1/leds.c similarity index 100% rename from arch/arm/mach-omap/leds.c rename to arch/arm/mach-omap1/leds.c diff --git a/arch/arm/mach-omap/leds.h b/arch/arm/mach-omap1/leds.h similarity index 100% rename from arch/arm/mach-omap/leds.h rename to arch/arm/mach-omap1/leds.h -- GitLab