Commit 3e8af307 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by David S. Miller

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: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2f181855
...@@ -445,6 +445,7 @@ static const struct net_device_ops scc_netdev_ops = { ...@@ -445,6 +445,7 @@ static const struct net_device_ops scc_netdev_ops = {
.ndo_stop = scc_close, .ndo_stop = scc_close,
.ndo_start_xmit = scc_send_packet, .ndo_start_xmit = scc_send_packet,
.ndo_do_ioctl = scc_ioctl, .ndo_do_ioctl = scc_ioctl,
.ndo_set_mac_address = scc_set_mac_address,
}; };
static int __init setup_adapter(int card_base, int type, int n) 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,7 +585,6 @@ static int __init setup_adapter(int card_base, int type, int n)
dev->irq = irq; dev->irq = irq;
dev->netdev_ops = &scc_netdev_ops; dev->netdev_ops = &scc_netdev_ops;
dev->header_ops = &ax25_header_ops; dev->header_ops = &ax25_header_ops;
dev->set_mac_address = scc_set_mac_address;
} }
if (register_netdev(info->dev[0])) { if (register_netdev(info->dev[0])) {
printk(KERN_ERR "dmascc: could not register %s\n", printk(KERN_ERR "dmascc: could not register %s\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment