Commit ddae41be authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: reorg some functions out of the main usb.c file

This will make the dynamic-id stuff easier to do, as it will be
self-contained.

No logic was changed at all.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5ba35bd8
...@@ -253,6 +253,7 @@ ...@@ -253,6 +253,7 @@
!Edrivers/usb/core/urb.c !Edrivers/usb/core/urb.c
!Edrivers/usb/core/message.c !Edrivers/usb/core/message.c
!Edrivers/usb/core/file.c !Edrivers/usb/core/file.c
!Edrivers/usb/core/driver.c
!Edrivers/usb/core/usb.c !Edrivers/usb/core/usb.c
!Edrivers/usb/core/hub.c !Edrivers/usb/core/hub.c
</chapter> </chapter>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Makefile for USB Core files and filesystem # Makefile for USB Core files and filesystem
# #
usbcore-objs := usb.o hub.o hcd.o urb.o message.o \ usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
config.o file.o buffer.o sysfs.o devio.o notify.o config.o file.o buffer.o sysfs.o devio.o notify.o
ifeq ($(CONFIG_PCI),y) ifeq ($(CONFIG_PCI),y)
......
This diff is collapsed.
This diff is collapsed.
...@@ -33,6 +33,9 @@ extern void usb_host_cleanup(void); ...@@ -33,6 +33,9 @@ extern void usb_host_cleanup(void);
extern int usb_suspend_device(struct usb_device *dev); extern int usb_suspend_device(struct usb_device *dev);
extern int usb_resume_device(struct usb_device *dev); extern int usb_resume_device(struct usb_device *dev);
extern struct device_driver usb_generic_driver;
extern int usb_generic_driver_data;
extern int usb_device_match(struct device *dev, struct device_driver *drv);
/* Interfaces and their "power state" are owned by usbcore */ /* Interfaces and their "power state" are owned by usbcore */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment