summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2014-10-29 18:45:23 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-18 21:35:02 +0100
commitd6fdb38b4f2c4090e176aa55fe73dd2f45cfa4a6 (patch)
tree27135041d0f5c1121abbd90d44eb761adfe2328e /drivers
parent50212b425d0ef8b606b316826b56abbb48680758 (diff)
downloadlinux-d6fdb38b4f2c4090e176aa55fe73dd2f45cfa4a6.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/can/m_can/m_can.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index 10d571eaed85..e61886bf1bb3 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -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)