ksz884x: Add missing validate_addr hook
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Mon, 31 May 2010 00:26:21 +0000 (00:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2010 07:24:32 +0000 (00:24 -0700)
Add missing validate_addr hook

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ksz884x.c

index 4568b6f163eb647a054891d595ed59b3aec9fd3f..7805bbf1d53a6ceeaf02f8c68f4e3740e2c4939d 100644 (file)
@@ -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