diff options
| author | Greg KH <gregkh@suse.de> | 2005-09-09 17:26:01 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-09 17:26:01 -0400 |
| commit | 8ccc457722ba226ea72fca6f9ba3b54535d4749e (patch) | |
| tree | e323eda3b7ed55a5398751021e8031c1cae56f9d /arch/arm/mach-omap1/leds-osk.c | |
| parent | 20dd026d7f5a6972dc78b4928a99620001fa547d (diff) | |
| parent | 5dce225bd9ea60e28e17076de63df0dee51b2883 (diff) | |
Merge gregkh@master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
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! |
