forked from Minki/linux
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:
parent
92593a035e
commit
ca976d6af4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user