summaryrefslogtreecommitdiff
path: root/drivers/misc/status_led.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:40 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:40 +0200
commit55d6d2d39fe3fe87802e399aa17539368b495d2e (patch)
treecc16666a1035d9641fbefee5365383e541896e50 /drivers/misc/status_led.c
parent65e41ea0548b86e3d7892defac8e4dc1ea70aed1 (diff)
downloadu-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.zip
u-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.tar.gz
u-boot-imx-55d6d2d39fe3fe87802e399aa17539368b495d2e.tar.bz2
drivers/misc: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/misc/status_led.c')
-rw-r--r--drivers/misc/status_led.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/misc/status_led.c b/drivers/misc/status_led.c
index ddb6c22..4ba3e18 100644
--- a/drivers/misc/status_led.c
+++ b/drivers/misc/status_led.c
@@ -35,8 +35,6 @@
/* ------------------------------------------------------------------------- */
-#ifdef CONFIG_STATUS_LED
-
typedef struct {
led_id_t mask;
int state;
@@ -127,5 +125,3 @@ void status_led_set (int led, int state)
}
__led_set (ld->mask, state);
}
-
-#endif /* CONFIG_STATUS_LED */