projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245acb8
)
cpmac: fix compilation failure introduced with netdev_ops conversion
author
Florian Fainelli
<
[email protected]
>
Wed, 24 Jun 2009 23:32:33 +0000
(16:32 -0700)
committer
David S. Miller
<
[email protected]
>
Thu, 25 Jun 2009 01:03:11 +0000
(18:03 -0700)
This patch fixes and obvious typo in the netdev_ops initialization:
ndo_so_ioctl should be ndo_do_ioctl.
Signed-off-by: Florian Fainelli <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/cpmac.c
patch
|
blob
|
history
diff --git
a/drivers/net/cpmac.c
b/drivers/net/cpmac.c
index 58afafbd3b9cb9695bcf6fe570c07b493a30d881..fd5e32cbcb8778bb7ed02fdd0d7bf6ec6d1e9163 100644
(file)
--- a/
drivers/net/cpmac.c
+++ b/
drivers/net/cpmac.c
@@
-1097,7
+1097,7
@@
static const struct net_device_ops cpmac_netdev_ops = {
.ndo_start_xmit = cpmac_start_xmit,
.ndo_tx_timeout = cpmac_tx_timeout,
.ndo_set_multicast_list = cpmac_set_multicast_list,
- .ndo_
s
o_ioctl = cpmac_ioctl,
+ .ndo_
d
o_ioctl = cpmac_ioctl,
.ndo_set_config = cpmac_config,
.ndo_change_mtu = eth_change_mtu,
.ndo_validate_addr = eth_validate_addr,