aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2020-07-15 20:40:58 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-17 12:42:47 -0700
commit1ea2b748b5eb4f9b6c8f66d098f1277afb724336 (patch)
tree2d33e7bff1713d58fb2fdc1ec53c49aa38f4548a /include
parentnet: cdc_ether: export usbnet_cdc_update_filter (diff)
downloadlinux-dev-1ea2b748b5eb4f9b6c8f66d098f1277afb724336.tar.xz
linux-dev-1ea2b748b5eb4f9b6c8f66d098f1277afb724336.zip
net: usbnet: export usbnet_set_rx_mode()
This function can be reused by other usbnet minidrivers. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 3a856963a363..2e4f7721fc4e 100644
--- a/include/linux/usb/usbnet.h
+++ b/include/linux/usb/usbnet.h
@@ -274,6 +274,7 @@ extern int usbnet_set_link_ksettings(struct net_device *net,
extern u32 usbnet_get_link(struct net_device *net);
extern u32 usbnet_get_msglevel(struct net_device *);
extern void usbnet_set_msglevel(struct net_device *, u32);
+extern void usbnet_set_rx_mode(struct net_device *net);
extern void usbnet_get_drvinfo(struct net_device *, struct ethtool_drvinfo *);
extern int usbnet_nway_reset(struct net_device *net);