summaryrefslogtreecommitdiff
path: root/drivers/net/can/rcar_can.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 15:16:13 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 19:52:08 +0300
commitca976d6af4e50899f4e840e8017ec29d8fe6b50e (patch)
tree26411792407f00ceb00985c4b93ce1b7a01f699d /drivers/net/can/rcar_can.c
parent92593a035ee6a81f50b54ab34b23b1c1319ee413 (diff)
downloadlinux-ca976d6af4e50899f4e840e8017ec29d8fe6b50e.tar.xz
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/rcar_can.c')
-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)