diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-18 15:16:13 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-18 23:34:59 +0300 |
commit | 50212b425d0ef8b606b316826b56abbb48680758 (patch) | |
tree | 3ada0d7526ec0a5d87570ca83fd6b861cba8d452 /drivers/net/can | |
parent | ca976d6af4e50899f4e840e8017ec29d8fe6b50e (diff) | |
download | linux-50212b425d0ef8b606b316826b56abbb48680758.tar.xz |
can: gs_usb: add .ndo_change_mtu function
Use common can_change_mtu function.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/usb/gs_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c index 04b0f84612f0..009acc8641fc 100644 --- a/drivers/net/can/usb/gs_usb.c +++ b/drivers/net/can/usb/gs_usb.c @@ -718,6 +718,7 @@ static const struct net_device_ops gs_usb_netdev_ops = { .ndo_open = gs_can_open, .ndo_stop = gs_can_close, .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) |