mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-08 07:35:04 +00:00
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:
parent
50212b425d
commit
d6fdb38b4f
1 changed files with 1 additions and 0 deletions
|
@ -992,6 +992,7 @@ static const struct net_device_ops m_can_netdev_ops = {
|
||||||
.ndo_open = m_can_open,
|
.ndo_open = m_can_open,
|
||||||
.ndo_stop = m_can_close,
|
.ndo_stop = m_can_close,
|
||||||
.ndo_start_xmit = m_can_start_xmit,
|
.ndo_start_xmit = m_can_start_xmit,
|
||||||
|
.ndo_change_mtu = can_change_mtu,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int register_m_can_dev(struct net_device *dev)
|
static int register_m_can_dev(struct net_device *dev)
|
||||||
|
|
Loading…
Add table
Reference in a new issue