9
0
Fork 0

drivers/usb: regorganisation

move to linux usb driver organisation

as following

drivers/usb/core
drivers/usb/gadget
drivers/usb/host
drivers/usb/otg

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-07-29 11:54:20 +02:00 committed by Sascha Hauer
parent 404e6d553a
commit 6f354bc067
13 changed files with 19 additions and 13 deletions

View File

@ -3,15 +3,9 @@ menuconfig USB
if USB
config USB_EHCI
bool "EHCI driver"
source drivers/usb/host/Kconfig
config USB_ULPI
bool
config USB_ISP1504
select USB_ULPI
bool "ISP1504 Tranceiver support"
source drivers/usb/otg/Kconfig
endif

View File

@ -1,6 +1,5 @@
obj-$(CONFIG_USB) += usb.o
obj-$(CONFIG_USB_EHCI) += usb_ehci_core.o
obj-$(CONFIG_USB_ULPI) += ulpi.o
obj-$(CONFIG_USB_ISP1504) += isp1504.o
obj-$(CONFIG_USB) += core/
obj-$(CONFIG_USB_GADGET) += gadget/
obj-y += host/
obj-y += otg/

View File

@ -0,0 +1,2 @@
obj-y += usb.o

2
drivers/usb/host/Kconfig Normal file
View File

@ -0,0 +1,2 @@
config USB_EHCI
bool "EHCI driver"

View File

@ -0,0 +1 @@
obj-$(CONFIG_USB_EHCI) += ehci-hcd.o

View File

@ -34,7 +34,7 @@
#include <usb/ehci.h>
#include <asm/mmu.h>
#include "usb_ehci.h"
#include "ehci.h"
struct ehci_priv {
int rootdev;

6
drivers/usb/otg/Kconfig Normal file
View File

@ -0,0 +1,6 @@
config USB_ULPI
bool
config USB_ISP1504
select USB_ULPI
bool "ISP1504 Tranceiver support"

2
drivers/usb/otg/Makefile Normal file
View File

@ -0,0 +1,2 @@
obj-$(CONFIG_USB_ULPI) += ulpi.o
obj-$(CONFIG_USB_ISP1504) += isp1504.o