]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM etherh: Fix build failure.
authorDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2009 22:35:15 +0000 (14:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2009 22:35:15 +0000 (14:35 -0800)
Reported by Russell King:

drivers/net/arm/etherh.c:649: error: unknown field 'ndo_set_mac_addr' specified in initializer

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/etherh.c

index 745ac188babe8c6419b81d0956002388b7a8a21c..d15d8b79d8e5332891134ab5bb1424aa83b66388 100644 (file)
@@ -646,7 +646,7 @@ static const struct net_device_ops etherh_netdev_ops = {
        .ndo_get_stats          = ei_get_stats,
        .ndo_set_multicast_list = ei_set_multicast_list,
        .ndo_validate_addr      = eth_validate_addr,
-       .ndo_set_mac_addr       = eth_set_mac_addr,
+       .ndo_set_mac_address    = eth_set_mac_addr,
        .ndo_change_mtu         = eth_change_mtu,
 #ifdef CONFIG_NET_POLL_CONTROLLER
        .ndo_poll_controller    = ei_poll,