From: Adrian Bunk Date: Tue, 21 Nov 2006 21:02:54 +0000 (+0100) Subject: USB: make drivers/usb/core/driver.c:usb_device_match() static X-Git-Tag: v2.6.20-rc2~6^2~13^2~477^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8bb22d2bdaac415965e7be1af8da2b8f3ee35f31;p=linux-2.6-omap-h63xx.git USB: make drivers/usb/core/driver.c:usb_device_match() static usb_device_match() can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 44dd6103fb4..40c1bf09b2b 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c @@ -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)) {