summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2010-04-22 13:43:33 +0800
committerRob Herring <r.herring@freescale.com>2010-05-05 17:41:29 -0500
commitaf5569b47267abf4682543eb3799ebe63d4ced97 (patch)
tree5a42ce62d62e4231ff59f6e2737b0dcb42346ebe /drivers
parentb554afd15babb32575c077c84c081d39047a37c7 (diff)
netdev/fec: fix compiling warning
BugLink: http://bugs.launchpad.net/bugs/457878 Missed to set .ndo_do_ioctl as fec_enet_ioctl, so will generate a compiling warning due to nobody uses fec_enet_ioctl. This patch fixed that. Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Acked-by: Amit Kucheria <amit.kucheria@canonical.com> Acked-by: Colin King <colin.king@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 95c4577d0158..34556b5627cb 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1091,6 +1091,7 @@ static const struct net_device_ops fec_netdev_ops = {
.ndo_validate_addr = eth_validate_addr,
.ndo_tx_timeout = fec_timeout,
.ndo_set_mac_address = fec_set_mac_address,
+ .ndo_do_ioctl = fec_enet_ioctl,
};
#ifdef CONFIG_ARCH_MXS