projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/net/can/xilinx_can.c
b/drivers/net/can/xilinx_can.c
index
47b2f80
..
8a998e3
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,
};
/**