[U-Boot-Users] [PATCH] drivers/leds : move leds drivers to drivers/leds

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Oct 11 10:32:14 CEST 2007


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/Makefile                |    1 -
 drivers/leds/Makefile           |    2 +-
 drivers/{ => leds}/status_led.c |    0 
 3 files changed, 1 insertions(+), 2 deletions(-)
 rename drivers/{ => leds}/status_led.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index 298ff56..b36bcb7 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -120,7 +120,6 @@ COBJS-y += usbdcore_omap1510.o
 #
 COBJS-y += ali512x.o
 COBJS-y += ns87308.o
-COBJS-y += status_led.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile
index 0bbfb56..bbb8310 100644
--- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB 	:= $(obj)libleds.a
 
-COBJS-y +=
+COBJS-y += status_led.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
diff --git a/drivers/status_led.c b/drivers/leds/status_led.c
similarity index 100%
rename from drivers/status_led.c
rename to drivers/leds/status_led.c
-- 
1.5.3.2





More information about the U-Boot mailing list