summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2009-11-16 22:53:53 +0100
committerKrzysztof Hałasa <khc@pm.waw.pl>2009-12-05 16:58:40 +0100
commit914e7bc28ee2c7083a7b81ffaa789f703eb5f974 (patch)
tree4f09fa08eec7ca96749001389314e3468d6c2b9c /drivers/leds
parent395e71276cd394c103931bfb60ceec9a97c0eaee (diff)
downloadtalos-obmc-linux-914e7bc28ee2c7083a7b81ffaa789f703eb5f974.tar.gz
talos-obmc-linux-914e7bc28ee2c7083a7b81ffaa789f703eb5f974.zip
IXP4xx: move FSG platform macros to the platform code.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-fsg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/leds/leds-fsg.c b/drivers/leds/leds-fsg.c
index 5f7c9c5c09b1..d11d05be0dee 100644
--- a/drivers/leds/leds-fsg.c
+++ b/drivers/leds/leds-fsg.c
@@ -22,6 +22,13 @@
#include <mach/hardware.h>
#include <asm/io.h>
+#define FSG_LED_WLAN_BIT 0
+#define FSG_LED_WAN_BIT 1
+#define FSG_LED_SATA_BIT 2
+#define FSG_LED_USB_BIT 4
+#define FSG_LED_RING_BIT 5
+#define FSG_LED_SYNC_BIT 7
+
static short __iomem *latch_address;
static unsigned short latch_value;
OpenPOWER on IntegriCloud