projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7481bb8
)
USB: make drivers/usb/core/driver.c:usb_device_match() static
author
Adrian Bunk
<bunk@stusta.de>
Tue, 21 Nov 2006 21:02:54 +0000
(22:02 +0100)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/usb/core/driver.c
b/drivers/usb/core/driver.c
index 44dd6103fb44235623fd5aab2fb3d880605ca482..40c1bf09b2b7d28d98f679239eb53eeb7f48e70a 100644
(file)
--- 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)) {