Commit 50212b42 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: gs_usb: add .ndo_change_mtu function

Use common can_change_mtu function.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent ca976d6a
...@@ -718,6 +718,7 @@ static const struct net_device_ops gs_usb_netdev_ops = { ...@@ -718,6 +718,7 @@ static const struct net_device_ops gs_usb_netdev_ops = {
.ndo_open = gs_can_open, .ndo_open = gs_can_open,
.ndo_stop = gs_can_close, .ndo_stop = gs_can_close,
.ndo_start_xmit = gs_can_start_xmit, .ndo_start_xmit = gs_can_start_xmit,
.ndo_change_mtu = can_change_mtu,
}; };
static struct gs_can *gs_make_candev(unsigned int channel, struct usb_interface *intf) static struct gs_can *gs_make_candev(unsigned int channel, struct usb_interface *intf)
......
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