OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92593a0
)
can: rcar_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/rcar_can.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/rcar_can.c
b/drivers/net/can/rcar_can.c
index
1abe133
..
9718248
100644
(file)
--- a/
drivers/net/can/rcar_can.c
+++ b/
drivers/net/can/rcar_can.c
@@
-628,6
+628,7
@@
static const struct net_device_ops rcar_can_netdev_ops = {
.ndo_open = rcar_can_open,
.ndo_stop = rcar_can_close,
.ndo_start_xmit = rcar_can_start_xmit,
+ .ndo_change_mtu = can_change_mtu,
};
static void rcar_can_rx_pkt(struct rcar_can_priv *priv)