Skip to content

Commit

Permalink
can: m_can: add .ndo_change_mtu function
Browse files Browse the repository at this point in the history
Use common can_change_mtu function.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Dong Aisheng authored and Marc Kleine-Budde committed Nov 18, 2014
1 parent 50212b4 commit d6fdb38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/can/m_can/m_can.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit d6fdb38

Please sign in to comment.