Message ID | 1414579527-31100-3-git-send-email-b29396@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 10/29/2014 11:45 AM, Dong Aisheng wrote: > Use common can_change_mtu function. > > Signed-off-by: Dong Aisheng <b29396@freescale.com> Applied to can/master. Thanks, Marc
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index 2784423..e4ef146 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c @@ -1002,6 +1002,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)
Use common can_change_mtu function. Signed-off-by: Dong Aisheng <b29396@freescale.com> --- drivers/net/can/m_can/m_can.c | 1 + 1 file changed, 1 insertion(+)