diff options
author | Alexander Schulz <alex@shark-linux.de> | 2009-01-08 12:05:58 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-19 06:30:20 -0500 |
commit | eab184c2362567f2b2e951b7bd0e0d353a7e5091 (patch) | |
tree | f03f859d1f038b1c0b358c35fb842fc2f50f41d7 /arch/arm/mach-shark/leds.c | |
parent | 60f793de891ea06fa870546336a88df543ec56ae (diff) |
[ARM] 5363/1: Shark cleanup and new defconfig
This includes a new defconfig for the Shark and some changes to
the mach-shark directory to avoid namespace pollution and to
switch the rtc to the newer driver.
Signed-off-by: Alexander Schulz <alex@shark-linux.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-shark/leds.c')
-rw-r--r-- | arch/arm/mach-shark/leds.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-shark/leds.c b/arch/arm/mach-shark/leds.c index 8bd8d6bb4d92..c9e32de4adf9 100644 --- a/arch/arm/mach-shark/leds.c +++ b/arch/arm/mach-shark/leds.c | |||
@@ -22,12 +22,16 @@ | |||
22 | #include <linux/ioport.h> | 22 | #include <linux/ioport.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | ||
26 | #include <asm/leds.h> | 25 | #include <asm/leds.h> |
27 | #include <asm/system.h> | 26 | #include <asm/system.h> |
28 | 27 | ||
29 | #define LED_STATE_ENABLED 1 | 28 | #define LED_STATE_ENABLED 1 |
30 | #define LED_STATE_CLAIMED 2 | 29 | #define LED_STATE_CLAIMED 2 |
30 | |||
31 | #define SEQUOIA_LED_GREEN (1<<6) | ||
32 | #define SEQUOIA_LED_AMBER (1<<5) | ||
33 | #define SEQUOIA_LED_BACK (1<<7) | ||
34 | |||
31 | static char led_state; | 35 | static char led_state; |
32 | static short hw_led_state; | 36 | static short hw_led_state; |
33 | static short saved_state; | 37 | static short saved_state; |