USB: make drivers/usb/core/driver.c:usb_device_match() static
usb_device_match() can now become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
7481bb8a7f
commit
8bb22d2bda
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ const struct usb_device_id *usb_match_id(struct usb_interface *interface,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL_FUTURE(usb_match_id);
|
||||
|
||||
int usb_device_match(struct device *dev, struct device_driver *drv)
|
||||
static int usb_device_match(struct device *dev, struct device_driver *drv)
|
||||
{
|
||||
/* devices and interfaces are handled separately */
|
||||
if (is_usb_device(dev)) {
|
||||
|
|
Reference in a new issue