From: Marc Kleine-Budde Date: Tue, 18 Nov 2014 12:16:13 +0000 (+0100) Subject: can: xilinx_can: add .ndo_change_mtu function X-Git-Tag: firefly_0821_release~176^2~2837^2~11^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92593a035ee6a81f50b54ab34b23b1c1319ee413;p=firefly-linux-kernel-4.4.55.git can: xilinx_can: add .ndo_change_mtu function Use common can_change_mtu function. Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 47b2f801d127..8a998e3884ce 100644 --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c @@ -962,6 +962,7 @@ static const struct net_device_ops xcan_netdev_ops = { .ndo_open = xcan_open, .ndo_stop = xcan_close, .ndo_start_xmit = xcan_start_xmit, + .ndo_change_mtu = can_change_mtu, }; /**