diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-18 13:16:13 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-11-18 21:34:59 +0100 |
commit | 50212b425d0ef8b606b316826b56abbb48680758 (patch) | |
tree | 3ada0d7526ec0a5d87570ca83fd6b861cba8d452 | |
parent | can: rcar_can: add .ndo_change_mtu function (diff) | |
download | linux-50212b425d0ef8b606b316826b56abbb48680758.tar.xz linux-50212b425d0ef8b606b316826b56abbb48680758.zip |
can: gs_usb: add .ndo_change_mtu function
Use common can_change_mtu function.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-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) |