Commit 6e277408 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: split some pci specific pieces out of hcd.c into a separate file.

parent 12822f40
......@@ -2,11 +2,15 @@
# Makefile for USB Core files and filesystem
#
export-objs := usb.o hcd.o urb.o message.o config.o
export-objs := usb.o hcd.o hcd-pci.o urb.o message.o config.o
usbcore-objs := usb.o usb-debug.o hub.o hcd.o urb.o message.o \
config.o
ifeq ($(CONFIG_PCI),y)
usbcore-objs += hcd-pci.o
endif
ifeq ($(CONFIG_USB_DEVICEFS),y)
usbcore-objs += devio.o inode.o drivers.o devices.o
endif
......
This diff is collapsed.
This diff is collapsed.
......@@ -161,6 +161,11 @@ struct hc_driver {
};
extern void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb);
extern void usb_init_bus (struct usb_bus *bus);
extern void usb_rh_status_dequeue (struct usb_hcd *hcd, struct urb *urb);
extern spinlock_t hcd_data_lock;
extern struct usb_operations hcd_operations;
#ifdef CONFIG_PCI
struct pci_dev;
......
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