summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@hera.kernel.org>2010-05-31 00:26:21 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-01 00:24:32 -0700
commit96ed741e15896eea43f7203523db88bc8105c359 (patch)
tree8b9cbe997c379fb2ea595722ba2a830a85c6893a
parent5ed83663f77ee7404022d046321f69545cd311b8 (diff)
downloadlinux-3.10-96ed741e15896eea43f7203523db88bc8105c359.tar.gz
linux-3.10-96ed741e15896eea43f7203523db88bc8105c359.tar.bz2
linux-3.10-96ed741e15896eea43f7203523db88bc8105c359.zip
ksz884x: Add missing validate_addr hook
Add missing validate_addr hook Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ksz884x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c
index 4568b6f163e..7805bbf1d53 100644
--- a/drivers/net/ksz884x.c
+++ b/drivers/net/ksz884x.c
@@ -6863,6 +6863,7 @@ static const struct net_device_ops netdev_ops = {
.ndo_tx_timeout = netdev_tx_timeout,
.ndo_change_mtu = netdev_change_mtu,
.ndo_set_mac_address = netdev_set_mac_address,
+ .ndo_validate_addr = eth_validate_addr,
.ndo_do_ioctl = netdev_ioctl,
.ndo_set_rx_mode = netdev_set_rx_mode,
#ifdef CONFIG_NET_POLL_CONTROLLER