Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: cdc-phonet: Staticize usbpn_probe

'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>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sachin Kamat and committed by
David S. Miller
052c19e6 8a67d1c6

+1 -1
+1 -1
drivers/net/usb/cdc-phonet.c
··· 328 328 329 329 static struct usb_driver usbpn_driver; 330 330 331 - int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id) 331 + static int usbpn_probe(struct usb_interface *intf, const struct usb_device_id *id) 332 332 { 333 333 static const char ifname[] = "usbpn%d"; 334 334 const struct usb_cdc_union_desc *union_header = NULL;