summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkirjanov@gmail.com <kirjanov@gmail.com>2010-02-16 21:40:11 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-18 00:59:46 +0100
commit1d4bd947c501ea1da81300280fb6aeec2cca9335 (patch)
tree443ca2c757ac5a27bb8d6c0ac18338da08ca3768
parentnet: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver (diff)
downloadlinux-1d4bd947c501ea1da81300280fb6aeec2cca9335.tar.xz
linux-1d4bd947c501ea1da81300280fb6aeec2cca9335.zip
mv643xx_eth: fix missing validate_addr hook
Fix missing validate_addr hook. Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/mv643xx_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index e24072a9a979..2733b0a3b703 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2846,6 +2846,7 @@ static const struct net_device_ops mv643xx_eth_netdev_ops = {
.ndo_start_xmit = mv643xx_eth_xmit,
.ndo_set_rx_mode = mv643xx_eth_set_rx_mode,
.ndo_set_mac_address = mv643xx_eth_set_mac_address,
+ .ndo_validate_addr = eth_validate_addr,
.ndo_do_ioctl = mv643xx_eth_ioctl,
.ndo_change_mtu = mv643xx_eth_change_mtu,
.ndo_tx_timeout = mv643xx_eth_tx_timeout,