Patchwork [for,2.6.27?,09/10] drivers/net/hp-plus.c: fix build error

login
register
mail settings
Submitter Andrew Morton
Date Sept. 22, 2008, 9:10 p.m.
Message ID <200809222110.m8MLAOQQ029900@imap1.linux-foundation.org>
Download mbox | patch
Permalink /patch/945/
State Rejected
Delegated to: Jeff Garzik
Headers show

Comments

Andrew Morton - Sept. 22, 2008, 9:10 p.m.
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix hp-plus build error (yet again; will it ever end?):

hp-plus.c:(.init.text+0xa2cd): undefined reference to `NS8390p_init'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/hp-plus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff -puN drivers/net/hp-plus.c~drivers-net-hp-plusc-fix-build-error drivers/net/hp-plus.c
--- a/drivers/net/hp-plus.c~drivers-net-hp-plusc-fix-build-error
+++ a/drivers/net/hp-plus.c
@@ -262,7 +262,7 @@  static int __init hpp_probe1(struct net_
 	}
 
 	outw(Perf_Page, ioaddr + HP_PAGING);
-	NS8390p_init(dev, 0);
+	NS8390_init(dev, 0);
 	/* Leave the 8390 and HP chip reset. */
 	outw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION);