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 47b2f80..8a998e3 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,
 };
 
 /**