summaryrefslogtreecommitdiff
path: root/drivers/net/can/xilinx_can.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 15:16:13 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 19:52:08 +0300
commit92593a035ee6a81f50b54ab34b23b1c1319ee413 (patch)
tree7089c417c34a3627713f862bba81f5d029e67b91 /drivers/net/can/xilinx_can.c
parentfb3ec7ba5a665c280f7299a36460449038fc1083 (diff)
downloadlinux-92593a035ee6a81f50b54ab34b23b1c1319ee413.tar.xz
can: xilinx_can: 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/xilinx_can.c')
-rw-r--r--drivers/net/can/xilinx_can.c1
1 files changed, 1 insertions, 0 deletions
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,
};
/**