diff options
Diffstat (limited to 'arch/arm/mach-omap1/leds-osk.c')
-rw-r--r-- | arch/arm/mach-omap1/leds-osk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/leds-osk.c b/arch/arm/mach-omap1/leds-osk.c index 4a0e8b9d4fc3..2c8bda847c18 100644 --- a/arch/arm/mach-omap1/leds-osk.c +++ b/arch/arm/mach-omap1/leds-osk.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/mach-omap/leds-osk.c | 2 | * linux/arch/arm/mach-omap1/leds-osk.c |
3 | * | 3 | * |
4 | * LED driver for OSK, and optionally Mistral QVGA, boards | 4 | * LED driver for OSK, and optionally Mistral QVGA, boards |
5 | */ | 5 | */ |
@@ -64,7 +64,7 @@ static void tps_work(void *unused) | |||
64 | 64 | ||
65 | static DECLARE_WORK(work, tps_work, NULL); | 65 | static DECLARE_WORK(work, tps_work, NULL); |
66 | 66 | ||
67 | #ifdef CONFIG_FB_OMAP | 67 | #ifdef CONFIG_OMAP_OSK_MISTRAL |
68 | 68 | ||
69 | /* For now, all system indicators require the Mistral board, since that | 69 | /* For now, all system indicators require the Mistral board, since that |
70 | * LED can be manipulated without a task context. This LED is either red, | 70 | * LED can be manipulated without a task context. This LED is either red, |
@@ -127,7 +127,7 @@ void osk_leds_event(led_event_t evt) | |||
127 | hw_led_state = 0; | 127 | hw_led_state = 0; |
128 | break; | 128 | break; |
129 | 129 | ||
130 | #ifdef CONFIG_FB_OMAP | 130 | #ifdef CONFIG_OMAP_OSK_MISTRAL |
131 | 131 | ||
132 | case led_timer: | 132 | case led_timer: |
133 | hw_led_state ^= TIMER_LED; | 133 | hw_led_state ^= TIMER_LED; |
@@ -144,7 +144,7 @@ void osk_leds_event(led_event_t evt) | |||
144 | mistral_setled(); | 144 | mistral_setled(); |
145 | break; | 145 | break; |
146 | 146 | ||
147 | #endif /* CONFIG_FB_OMAP */ | 147 | #endif /* CONFIG_OMAP_OSK_MISTRAL */ |
148 | 148 | ||
149 | /* "green" == tps LED1 (leftmost, normally power-good) | 149 | /* "green" == tps LED1 (leftmost, normally power-good) |
150 | * works only with DC adapter, not on battery power! | 150 | * works only with DC adapter, not on battery power! |