com20020: convert to net_devic_ops
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bca5b8939f
commit
a1799af4d7
@@ -151,6 +151,8 @@ static int __init com20020_init(void)
|
||||
if (node && node != 0xff)
|
||||
dev->dev_addr[0] = node;
|
||||
|
||||
dev->netdev_ops = &com20020_netdev_ops;
|
||||
|
||||
lp = netdev_priv(dev);
|
||||
lp->backplane = backplane;
|
||||
lp->clockp = clockp & 7;
|
||||
|
Reference in New Issue
Block a user