aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2009-11-16 16:53:53 -0500
committerKrzysztof Hałasa <khc@pm.waw.pl>2009-12-05 10:58:40 -0500
commit914e7bc28ee2c7083a7b81ffaa789f703eb5f974 (patch)
tree4f09fa08eec7ca96749001389314e3468d6c2b9c /drivers/leds
parent395e71276cd394c103931bfb60ceec9a97c0eaee (diff)
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 @@
22#include <mach/hardware.h> 22#include <mach/hardware.h>
23#include <asm/io.h> 23#include <asm/io.h>
24 24
25#define FSG_LED_WLAN_BIT 0
26#define FSG_LED_WAN_BIT 1
27#define FSG_LED_SATA_BIT 2
28#define FSG_LED_USB_BIT 4
29#define FSG_LED_RING_BIT 5
30#define FSG_LED_SYNC_BIT 7
31
25static short __iomem *latch_address; 32static short __iomem *latch_address;
26static unsigned short latch_value; 33static unsigned short latch_value;
27 34