summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@hera.kernel.org>2010-05-31 02:26:21 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-01 09:24:32 +0200
commit96ed741e15896eea43f7203523db88bc8105c359 (patch)
tree8b9cbe997c379fb2ea595722ba2a830a85c6893a
parentksz884x: convert to netdev_tx_t (diff)
downloadlinux-96ed741e15896eea43f7203523db88bc8105c359.tar.xz
linux-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 4568b6f163eb..7805bbf1d53a 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