diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-03-29 02:40:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-29 02:40:05 -0400 |
commit | 3e8af307bfe3b6318a1aaaf8ce18d0af7ddf2ea2 (patch) | |
tree | 766bec5f983998f4457521294fb50e3bc2b560dc /drivers/net/hamradio/dmascc.c | |
parent | 2f181855a0b3c2b39314944add7b41c15647cf86 (diff) |
dmascc: fix incomplete conversion to network_device_ops
drivers/net/hamradio/dmascc.c:587: error: 'struct net_device' has no
member named 'set_mac_address'
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio/dmascc.c')
-rw-r--r-- | drivers/net/hamradio/dmascc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index 881bf818bb48..7459b3ac77a9 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c | |||
@@ -445,6 +445,7 @@ static const struct net_device_ops scc_netdev_ops = { | |||
445 | .ndo_stop = scc_close, | 445 | .ndo_stop = scc_close, |
446 | .ndo_start_xmit = scc_send_packet, | 446 | .ndo_start_xmit = scc_send_packet, |
447 | .ndo_do_ioctl = scc_ioctl, | 447 | .ndo_do_ioctl = scc_ioctl, |
448 | .ndo_set_mac_address = scc_set_mac_address, | ||
448 | }; | 449 | }; |
449 | 450 | ||
450 | static int __init setup_adapter(int card_base, int type, int n) | 451 | static int __init setup_adapter(int card_base, int type, int n) |
@@ -584,7 +585,6 @@ static int __init setup_adapter(int card_base, int type, int n) | |||
584 | dev->irq = irq; | 585 | dev->irq = irq; |
585 | dev->netdev_ops = &scc_netdev_ops; | 586 | dev->netdev_ops = &scc_netdev_ops; |
586 | dev->header_ops = &ax25_header_ops; | 587 | dev->header_ops = &ax25_header_ops; |
587 | dev->set_mac_address = scc_set_mac_address; | ||
588 | } | 588 | } |
589 | if (register_netdev(info->dev[0])) { | 589 | if (register_netdev(info->dev[0])) { |
590 | printk(KERN_ERR "dmascc: could not register %s\n", | 590 | printk(KERN_ERR "dmascc: could not register %s\n", |