projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50212b4
)
can: m_can: add .ndo_change_mtu function
author
Dong Aisheng
<b29396@freescale.com>
Wed, 29 Oct 2014 10:45:23 +0000
(18:45 +0800)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 18 Nov 2014 20:35:02 +0000
(21:35 +0100)
Use common can_change_mtu function.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/m_can/m_can.c
b/drivers/net/can/m_can/m_can.c
index 10d571eaed856814928151da898bd2053d4d899c..e61886bf1bb3544908e47a879b35aed11f41709e 100644
(file)
--- 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)