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

Jean-Christophe PLAGNIOL-VILLARD
2007-10-11T08:32:17Z

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/Makefile | 9 ---------
drivers/pcmcia/Makefile | 7 ++++++-
drivers/{ => pcmcia}/i82365.c | 0
drivers/{ => pcmcia}/mpc8xx_pcmcia.c | 0
drivers/{ => pcmcia}/pxa_pcmcia.c | 0
drivers/{ => pcmcia}/rpx_pcmcia.c | 0
drivers/{ => pcmcia}/ti_pci1410a.c | 0
drivers/{ => pcmcia}/tqm8xx_pcmcia.c | 0
8 files changed, 6 insertions(+), 10 deletions(-)
rename drivers/{ => pcmcia}/i82365.c (100%)
rename drivers/{ => pcmcia}/mpc8xx_pcmcia.c (100%)
rename drivers/{ => pcmcia}/pxa_pcmcia.c (100%)
rename drivers/{ => pcmcia}/rpx_pcmcia.c (100%)
rename drivers/{ => pcmcia}/ti_pci1410a.c (100%)
rename drivers/{ => pcmcia}/tqm8xx_pcmcia.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index 6175c2a..e33022c 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -87,15 +87,6 @@ COBJS-y += tsec.o
COBJS-y += tsi108_eth.o

#
-# PCI/PCMCIA device drivers
-#
-COBJS-y += mpc8xx_pcmcia.o
-COBJS-y += pxa_pcmcia.o
-COBJS-y += rpx_pcmcia.o
-COBJS-y += ti_pci1410a.o
-COBJS-y += tqm8xx_pcmcia.o
-
-#
# USB Drivers
#
COBJS-y += isp116x-hcd.o
diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile
index 39f105a..34e64df 100644
--- a/drivers/pcmcia/Makefile
+++ b/drivers/pcmcia/Makefile
@@ -25,7 +25,12 @@ include $(TOPDIR)/config.mk

LIB := $(obj)libpcmcia.a

-COBJS-y +=
+COBJS-y += i82365.o
+COBJS-y += mpc8xx_pcmcia.o
+COBJS-y += pxa_pcmcia.o
+COBJS-y += rpx_pcmcia.o
+COBJS-y += ti_pci1410a.o
+COBJS-y += tqm8xx_pcmcia.o

COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/i82365.c b/drivers/pcmcia/i82365.c
similarity index 100%
rename from drivers/i82365.c
rename to drivers/pcmcia/i82365.c
diff --git a/drivers/mpc8xx_pcmcia.c b/drivers/pcmcia/mpc8xx_pcmcia.c
similarity index 100%
rename from drivers/mpc8xx_pcmcia.c
rename to drivers/pcmcia/mpc8xx_pcmcia.c
diff --git a/drivers/pxa_pcmcia.c b/drivers/pcmcia/pxa_pcmcia.c
similarity index 100%
rename from drivers/pxa_pcmcia.c
rename to drivers/pcmcia/pxa_pcmcia.c
diff --git a/drivers/rpx_pcmcia.c b/drivers/pcmcia/rpx_pcmcia.c
similarity index 100%
rename from drivers/rpx_pcmcia.c
rename to drivers/pcmcia/rpx_pcmcia.c
diff --git a/drivers/ti_pci1410a.c b/drivers/pcmcia/ti_pci1410a.c
similarity index 100%
rename from drivers/ti_pci1410a.c
rename to drivers/pcmcia/ti_pci1410a.c
diff --git a/drivers/tqm8xx_pcmcia.c b/drivers/pcmcia/tqm8xx_pcmcia.c
similarity index 100%
rename from drivers/tqm8xx_pcmcia.c
rename to drivers/pcmcia/tqm8xx_pcmcia.c
--
1.5.3.2