aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-21 16:02:54 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 17:23:37 -0500
commit8bb22d2bdaac415965e7be1af8da2b8f3ee35f31 (patch)
tree356c8a609a25466a964106da568cc20243d14c2e
parent7481bb8a7f2fd6b411764e0dc91713b1a58fce4c (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.c2
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}
526EXPORT_SYMBOL_GPL_FUTURE(usb_match_id); 526EXPORT_SYMBOL_GPL_FUTURE(usb_match_id);
527 527
528int usb_device_match(struct device *dev, struct device_driver *drv) 528static 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)) {