diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-11-21 16:02:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 17:23:37 -0500 |
commit | 8bb22d2bdaac415965e7be1af8da2b8f3ee35f31 (patch) | |
tree | 356c8a609a25466a964106da568cc20243d14c2e | |
parent | 7481bb8a7f2fd6b411764e0dc91713b1a58fce4c (diff) |
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>
-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, | |||
525 | } | 525 | } |
526 | EXPORT_SYMBOL_GPL_FUTURE(usb_match_id); | 526 | EXPORT_SYMBOL_GPL_FUTURE(usb_match_id); |
527 | 527 | ||
528 | int usb_device_match(struct device *dev, struct device_driver *drv) | 528 | static int usb_device_match(struct device *dev, struct device_driver *drv) |
529 | { | 529 | { |
530 | /* devices and interfaces are handled separately */ | 530 | /* devices and interfaces are handled separately */ |
531 | if (is_usb_device(dev)) { | 531 | if (is_usb_device(dev)) { |