Commit 57f7f426 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: remove some unneeded exported symbols.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 812ab7f3
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
/* host controllers we manage */ /* host controllers we manage */
LIST_HEAD (usb_bus_list); LIST_HEAD (usb_bus_list);
EXPORT_SYMBOL_GPL (usb_bus_list);
/* used when allocating bus numbers */ /* used when allocating bus numbers */
#define USB_MAXBUS 64 #define USB_MAXBUS 64
...@@ -97,7 +96,6 @@ static struct usb_busmap busmap; ...@@ -97,7 +96,6 @@ static struct usb_busmap busmap;
/* used when updating list of hcds */ /* used when updating list of hcds */
DECLARE_MUTEX (usb_bus_list_lock); /* exported only for usbfs */ DECLARE_MUTEX (usb_bus_list_lock); /* exported only for usbfs */
EXPORT_SYMBOL_GPL (usb_bus_list_lock);
/* used when updating hcd data */ /* used when updating hcd data */
static spinlock_t hcd_data_lock = SPIN_LOCK_UNLOCKED; static spinlock_t hcd_data_lock = SPIN_LOCK_UNLOCKED;
...@@ -1542,7 +1540,6 @@ void usb_hc_died (struct usb_hcd *hcd) ...@@ -1542,7 +1540,6 @@ void usb_hc_died (struct usb_hcd *hcd)
usb_set_device_state(hcd->self.root_hub, USB_STATE_NOTATTACHED); usb_set_device_state(hcd->self.root_hub, USB_STATE_NOTATTACHED);
mod_timer(&hcd->rh_timer, jiffies); mod_timer(&hcd->rh_timer, jiffies);
} }
EXPORT_SYMBOL (usb_hc_died);
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
...@@ -1618,7 +1618,6 @@ int __usb_suspend_device (struct usb_device *udev, int port1, u32 state) ...@@ -1618,7 +1618,6 @@ int __usb_suspend_device (struct usb_device *udev, int port1, u32 state)
udev->dev.power.power_state = state; udev->dev.power.power_state = state;
return status; return status;
} }
EXPORT_SYMBOL(__usb_suspend_device);
/** /**
* usb_suspend_device - suspend a usb device * usb_suspend_device - suspend a usb device
......
...@@ -63,8 +63,7 @@ const char *usbcore_name = "usbcore"; ...@@ -63,8 +63,7 @@ const char *usbcore_name = "usbcore";
int nousb; /* Disable USB when built into kernel image */ int nousb; /* Disable USB when built into kernel image */
/* Not honored on modular build */ /* Not honored on modular build */
DECLARE_RWSEM(usb_all_devices_rwsem); static DECLARE_RWSEM(usb_all_devices_rwsem);
EXPORT_SYMBOL(usb_all_devices_rwsem);
static int generic_probe (struct device *dev) static int generic_probe (struct device *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