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

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


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/Makefile             |    3 ---
 drivers/char/Makefile        |    4 +++-
 drivers/{ => char}/pc_keyb.c |    0 
 drivers/{ => char}/ps2mult.c |    0 
 drivers/{ => char}/ps2ser.c  |    0 
 5 files changed, 3 insertions(+), 4 deletions(-)
 rename drivers/{ => char}/pc_keyb.c (100%)
 rename drivers/{ => char}/ps2mult.c (100%)
 rename drivers/{ => char}/ps2ser.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index 3e21f06..6742b6c 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -48,9 +48,6 @@ COBJS-y += i8042.o
 COBJS-y += keyboard.o
 COBJS-y += netconsole.o
 COBJS-y += ns16550.o
-COBJS-y += ps2ser.o
-COBJS-y += ps2mult.o
-COBJS-y += pc_keyb.o
 COBJS-y += s3c4510b_uart.o
 COBJS-y += sed13806.o
 COBJS-y += sed156x.o
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index ed12090..f218cb7 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
 
 LIB 	:= $(obj)libchar.a
 
-COBJS-y +=
+COBJS-y += pc_keyb.o
+COBJS-y += ps2mult.o
+COBJS-y += ps2ser.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
diff --git a/drivers/pc_keyb.c b/drivers/char/pc_keyb.c
similarity index 100%
rename from drivers/pc_keyb.c
rename to drivers/char/pc_keyb.c
diff --git a/drivers/ps2mult.c b/drivers/char/ps2mult.c
similarity index 100%
rename from drivers/ps2mult.c
rename to drivers/char/ps2mult.c
diff --git a/drivers/ps2ser.c b/drivers/char/ps2ser.c
similarity index 100%
rename from drivers/ps2ser.c
rename to drivers/char/ps2ser.c
-- 
1.5.3.2





More information about the U-Boot mailing list