can: rcar_can: add .ndo_change_mtu function

Use common can_change_mtu function.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2014-11-18 13:16:13 +01:00
parent 92593a035e
commit ca976d6af4

View File

@ -628,6 +628,7 @@ static const struct net_device_ops rcar_can_netdev_ops = {
.ndo_open = rcar_can_open, .ndo_open = rcar_can_open,
.ndo_stop = rcar_can_close, .ndo_stop = rcar_can_close,
.ndo_start_xmit = rcar_can_start_xmit, .ndo_start_xmit = rcar_can_start_xmit,
.ndo_change_mtu = can_change_mtu,
}; };
static void rcar_can_rx_pkt(struct rcar_can_priv *priv) static void rcar_can_rx_pkt(struct rcar_can_priv *priv)