can: m_can: add .ndo_change_mtu function
Use common can_change_mtu function. Signed-off-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Родитель
50212b425d
Коммит
d6fdb38b4f
|
@ -992,6 +992,7 @@ static const struct net_device_ops m_can_netdev_ops = {
|
|||
.ndo_open = m_can_open,
|
||||
.ndo_stop = m_can_close,
|
||||
.ndo_start_xmit = m_can_start_xmit,
|
||||
.ndo_change_mtu = can_change_mtu,
|
||||
};
|
||||
|
||||
static int register_m_can_dev(struct net_device *dev)
|
||||
|
|
Загрузка…
Ссылка в новой задаче