Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Randy Dunlap and committed by
David S. Miller
9b58027b 3f53a381

+1 -1
+1 -1
drivers/net/hp-plus.c
··· 467 467 if (this_dev != 0) break; /* only autoprobe 1st one */ 468 468 printk(KERN_NOTICE "hp-plus.c: Presently autoprobing (not recommended) for a single card.\n"); 469 469 } 470 - dev = alloc_ei_netdev(); 470 + dev = alloc_eip_netdev(); 471 471 if (!dev) 472 472 break; 473 473 dev->irq = irq[this_dev];