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
parentcan: xilinx_can: fix comparison of unsigned variable (diff)
downloadlinux-92593a035ee6a81f50b54ab34b23b1c1319ee413.tar.xz
linux-92593a035ee6a81f50b54ab34b23b1c1319ee413.zip
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 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,
};
/**