提交 9b58027b 编写于 作者: R Randy Dunlap 提交者: David S. Miller

net: fix hp-plus build error

hp-plus needs to call __alloc_eip_netdev() instead of
__alloc_ei_netdev() since it is linked with 8390p.o.

Fixes this build error:
ERROR: "__alloc_ei_netdev" [drivers/net/hp-plus.ko] undefined!
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3f53a381
...@@ -467,7 +467,7 @@ init_module(void) ...@@ -467,7 +467,7 @@ init_module(void)
if (this_dev != 0) break; /* only autoprobe 1st one */ if (this_dev != 0) break; /* only autoprobe 1st one */
printk(KERN_NOTICE "hp-plus.c: Presently autoprobing (not recommended) for a single card.\n"); printk(KERN_NOTICE "hp-plus.c: Presently autoprobing (not recommended) for a single card.\n");
} }
dev = alloc_ei_netdev(); dev = alloc_eip_netdev();
if (!dev) if (!dev)
break; break;
dev->irq = irq[this_dev]; dev->irq = irq[this_dev];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册