summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMiguel Rodríguez Pérez <miguel@det.uvigo.gal>2020-07-15 20:40:57 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-17 12:42:47 -0700
commite506addeff844237d60545ef4f6141de21471caf (patch)
tree4519e14c3d3989a0dd74ad1e18b07940f6a51132 /drivers
parent0226009ce0f6089f9b31211f7a2703cf9a327a01 (diff)
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 'drivers')
-rw-r--r--drivers/net/usb/cdc_ether.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 2afe258e3648..8c1d61c2cbac 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -63,7 +63,7 @@ static const u8 mbm_guid[16] = {
0xa6, 0x07, 0xc0, 0xff, 0xcb, 0x7e, 0x39, 0x2a,
};
-static void usbnet_cdc_update_filter(struct usbnet *dev)
+void usbnet_cdc_update_filter(struct usbnet *dev)
{
struct net_device *net = dev->net;
@@ -90,6 +90,7 @@ static void usbnet_cdc_update_filter(struct usbnet *dev)
USB_CTRL_SET_TIMEOUT
);
}
+EXPORT_SYMBOL_GPL(usbnet_cdc_update_filter);
/* probes control interface, claims data interface, collects the bulk
* endpoints, activates data interface (if needed), maybe sets MTU.