summaryrefslogtreecommitdiff
path: root/drivers/net/can
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
commitca976d6af4e50899f4e840e8017ec29d8fe6b50e (patch)
tree26411792407f00ceb00985c4b93ce1b7a01f699d /drivers/net/can
parent92593a035ee6a81f50b54ab34b23b1c1319ee413 (diff)
can: rcar_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')
-rw-r--r--drivers/net/can/rcar_can.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/rcar_can.c b/drivers/net/can/rcar_can.c
index 1abe133d1594..9718248e55f1 100644
--- a/drivers/net/can/rcar_can.c
+++ b/drivers/net/can/rcar_can.c
@@ -628,6 +628,7 @@ static const struct net_device_ops rcar_can_netdev_ops = {
.ndo_open = rcar_can_open,
.ndo_stop = rcar_can_close,
.ndo_start_xmit = rcar_can_start_xmit,
+ .ndo_change_mtu = can_change_mtu,
};
static void rcar_can_rx_pkt(struct rcar_can_priv *priv)