Message ID | 1379573126-4879-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Sachin Kamat <sachin.kamat@linaro.org> Date: Thu, 19 Sep 2013 12:15:26 +0530 > 'usbpn_probe' is referenced only in this file. Make it static. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > Acked-by: Rémi Denis-Courmont <remi@remlab.net> > Cc: Rémi Denis-Courmont <remi@remlab.net> Applied to net-next -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/usb/cdc-phonet.c b/drivers/net/usb/cdc-phonet.c index 7d78669..6358d42 100644 --- 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;