summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorMiguel Rodríguez Pérez <miguel@det.uvigo.gal>2020-07-15 21:40:57 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-17 22:42:47 +0300
commite506addeff844237d60545ef4f6141de21471caf (patch)
tree4519e14c3d3989a0dd74ad1e18b07940f6a51132 /include/linux/usb
parent0226009ce0f6089f9b31211f7a2703cf9a327a01 (diff)
downloadlinux-e506addeff844237d60545ef4f6141de21471caf.tar.xz
net: cdc_ether: export usbnet_cdc_update_filter
This makes the function available to other drivers, like cdc_ncm. Signed-off-by: Miguel Rodríguez Pérez <miguel@det.uvigo.gal> Acked-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/usbnet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
index b0bff3083278..3a856963a363 100644
--- a/include/linux/usb/usbnet.h
+++ b/include/linux/usb/usbnet.h
@@ -207,6 +207,7 @@ struct cdc_state {
struct usb_interface *data;
};
+extern void usbnet_cdc_update_filter(struct usbnet *dev);
extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf);
extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);