summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shark/leds.c
diff options
context:
space:
mode:
authorAlexander Schulz <alex@shark-linux.de>2009-01-08 18:05:58 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-19 12:30:20 +0100
commiteab184c2362567f2b2e951b7bd0e0d353a7e5091 (patch)
treef03f859d1f038b1c0b358c35fb842fc2f50f41d7 /arch/arm/mach-shark/leds.c
parent[ARM] 5377/1: S3C2410-Framebuffer: Fix resume path in S3C2410 framebuffer dri... (diff)
downloadlinux-eab184c2362567f2b2e951b7bd0e0d353a7e5091.tar.xz
linux-eab184c2362567f2b2e951b7bd0e0d353a7e5091.zip
[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.c6
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 @@
#include <linux/ioport.h>
#include <linux/io.h>
-#include <mach/hardware.h>
#include <asm/leds.h>
#include <asm/system.h>
#define LED_STATE_ENABLED 1
#define LED_STATE_CLAIMED 2
+
+#define SEQUOIA_LED_GREEN (1<<6)
+#define SEQUOIA_LED_AMBER (1<<5)
+#define SEQUOIA_LED_BACK (1<<7)
+
static char led_state;
static short hw_led_state;
static short saved_state;