Commit e506adde authored by Miguel Rodríguez Pérez's avatar Miguel Rodríguez Pérez Committed by David S. Miller

net: cdc_ether: export usbnet_cdc_update_filter

This makes the function available to other drivers, like cdc_ncm.
Signed-off-by: default avatarMiguel Rodríguez Pérez <miguel@det.uvigo.gal>
Acked-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0226009c
......@@ -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.
......
......@@ -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 *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment