diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-11-21 22:02:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 23:23:37 +0100 |
commit | 8bb22d2bdaac415965e7be1af8da2b8f3ee35f31 (patch) | |
tree | 356c8a609a25466a964106da568cc20243d14c2e /drivers/usb | |
parent | USB: lh7a40x_udc remove double declaration (diff) | |
download | linux-8bb22d2bdaac415965e7be1af8da2b8f3ee35f31.tar.xz linux-8bb22d2bdaac415965e7be1af8da2b8f3ee35f31.zip |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 44dd6103fb44..40c1bf09b2b7 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)) { |