]> err.no Git - linux-2.6/commitdiff
USB: make drivers/usb/core/driver.c:usb_device_match() static
authorAdrian Bunk <bunk@stusta.de>
Tue, 21 Nov 2006 21:02:54 +0000 (22:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:37 +0000 (14:23 -0800)
usb_device_match() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c

index 44dd6103fb44235623fd5aab2fb3d880605ca482..40c1bf09b2b7d28d98f679239eb53eeb7f48e70a 100644 (file)
@@ -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)) {