projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a67d1c
)
net: cdc-phonet: Staticize usbpn_probe
author
Sachin Kamat
<
[email protected]
>
Thu, 19 Sep 2013 06:45:26 +0000
(12:15 +0530)
committer
David S. Miller
<
[email protected]
>
Fri, 20 Sep 2013 18:41:02 +0000
(14:41 -0400)
'usbpn_probe' is referenced only in this file. Make it static.
Signed-off-by: Sachin Kamat <
[email protected]
>
Acked-by: Rémi Denis-Courmont <
[email protected]
>
Cc: Rémi Denis-Courmont <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/usb/cdc-phonet.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/cdc-phonet.c
b/drivers/net/usb/cdc-phonet.c
index 7d78669000d704d8448aea5e24a8a73c312badfc..6358d420e185b4d4cb7b64a0c2a459fc5b70ed7f 100644
(file)
--- a/
drivers/net/usb/cdc-phonet.c
+++ b/
drivers/net/usb/cdc-phonet.c
@@
-328,7
+328,7
@@
MODULE_DEVICE_TABLE(usb, usbpn_ids);
static struct usb_driver usbpn_driver;
-int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id)
+
static
int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id)
{
static const char ifname[] = "usbpn%d";
const struct usb_cdc_union_desc *union_header = NULL;