summaryrefslogtreecommitdiffstats
path: root/drivers/net/cpmac.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-24 16:32:33 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-24 18:03:11 -0700
commit6a9b6546164fb380a019f92ca4d76443202fdc4f (patch)
tree870227e74447bd985d7fe6bfe4821c482d4d4158 /drivers/net/cpmac.c
parent245acb87729bc76ba65c7476665c01837e0cdccb (diff)
downloadlinux-6a9b6546164fb380a019f92ca4d76443202fdc4f.tar.gz
linux-6a9b6546164fb380a019f92ca4d76443202fdc4f.tar.bz2
linux-6a9b6546164fb380a019f92ca4d76443202fdc4f.zip
cpmac: fix compilation failure introduced with netdev_ops conversion
This patch fixes and obvious typo in the netdev_ops initialization: ndo_so_ioctl should be ndo_do_ioctl. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cpmac.c')
-rw-r--r--drivers/net/cpmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cpmac.c b/drivers/net/cpmac.c
index 58afafbd3b9c..fd5e32cbcb87 100644
--- 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_so_ioctl = cpmac_ioctl,
+ .ndo_do_ioctl = cpmac_ioctl,
.ndo_set_config = cpmac_config,
.ndo_change_mtu = eth_change_mtu,
.ndo_validate_addr = eth_validate_addr,