projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3ec7b
)
can: xilinx_can: add .ndo_change_mtu function
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 18 Nov 2014 12:16:13 +0000
(13:16 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 18 Nov 2014 16:52:08 +0000
(17:52 +0100)
Use common can_change_mtu function.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/xilinx_can.c
b/drivers/net/can/xilinx_can.c
index 47b2f801d127888bab9e7cc9f08bfeae351b7eab..8a998e3884ce0d502d9ebb19e7abde941ab85d3e 100644
(file)
--- a/
drivers/net/can/xilinx_can.c
+++ b/
drivers/net/can/xilinx_can.c
@@
-962,6
+962,7
@@
static const struct net_device_ops xcan_netdev_ops = {
.ndo_open = xcan_open,
.ndo_stop = xcan_close,
.ndo_start_xmit = xcan_start_xmit,
+ .ndo_change_mtu = can_change_mtu,
};
/**