aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/mscan/mscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/mscan/mscan.c')
-rw-r--r--drivers/net/can/mscan/mscan.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index b9f3faabb0f3..e0c9be5e2ab7 100644
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -647,9 +647,10 @@ static int mscan_close(struct net_device *dev)
647} 647}
648 648
649static const struct net_device_ops mscan_netdev_ops = { 649static const struct net_device_ops mscan_netdev_ops = {
650 .ndo_open = mscan_open, 650 .ndo_open = mscan_open,
651 .ndo_stop = mscan_close, 651 .ndo_stop = mscan_close,
652 .ndo_start_xmit = mscan_start_xmit, 652 .ndo_start_xmit = mscan_start_xmit,
653 .ndo_change_mtu = can_change_mtu,
653}; 654};
654 655
655int register_mscandev(struct net_device *dev, int mscan_clksrc) 656int register_mscandev(struct net_device *dev, int mscan_clksrc)