diff options
Diffstat (limited to 'arch/arm/mach-sa1100/leds-simpad.c')
-rw-r--r-- | arch/arm/mach-sa1100/leds-simpad.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-sa1100/leds-simpad.c b/arch/arm/mach-sa1100/leds-simpad.c index d50f4eeaa12e..d25784cc96e6 100644 --- a/arch/arm/mach-sa1100/leds-simpad.c +++ b/arch/arm/mach-sa1100/leds-simpad.c | |||
@@ -22,9 +22,6 @@ static unsigned int hw_led_state; | |||
22 | #define LED_GREEN (1) | 22 | #define LED_GREEN (1) |
23 | #define LED_MASK (1) | 23 | #define LED_MASK (1) |
24 | 24 | ||
25 | extern void set_cs3_bit(int value); | ||
26 | extern void clear_cs3_bit(int value); | ||
27 | |||
28 | void simpad_leds_event(led_event_t evt) | 25 | void simpad_leds_event(led_event_t evt) |
29 | { | 26 | { |
30 | switch (evt) | 27 | switch (evt) |
@@ -93,8 +90,8 @@ void simpad_leds_event(led_event_t evt) | |||
93 | } | 90 | } |
94 | 91 | ||
95 | if (led_state & LED_STATE_ENABLED) | 92 | if (led_state & LED_STATE_ENABLED) |
96 | set_cs3_bit(LED2_ON); | 93 | simpad_set_cs3_bit(LED2_ON); |
97 | else | 94 | else |
98 | clear_cs3_bit(LED2_ON); | 95 | simpad_clear_cs3_bit(LED2_ON); |
99 | } | 96 | } |
100 | 97 | ||