can: xilinx_can: add .ndo_change_mtu function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 18 Nov 2014 12:16:13 +0000 (13:16 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 18 Nov 2014 16:52:08 +0000 (17:52 +0100)
Use common can_change_mtu function.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c

index 47b2f801d127888bab9e7cc9f08bfeae351b7eab..8a998e3884ce0d502d9ebb19e7abde941ab85d3e 100644 (file)
@@ -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,
 };
 
 /**