summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 13:16:13 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 17:52:08 +0100
commit92593a035ee6a81f50b54ab34b23b1c1319ee413 (patch)
tree7089c417c34a3627713f862bba81f5d029e67b91 /drivers
parentfb3ec7ba5a665c280f7299a36460449038fc1083 (diff)
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')
-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 47b2f801d12..8a998e3884c 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,
};
/**