[PATCH] net, wd.c: fix undefined reference to `NS8390p_init'

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, August 11, 2008 - 2:11 am

* Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:


Alan, Jeff, i triggered this too with latest -git, please pick up the 
fix below if you dont have it already.

	Ingo

------------------>
From c03cb1727bb4c5433436bfb0fab59fdcc00749c3 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Mon, 11 Aug 2008 11:11:42 +0200
Subject: [PATCH] net, wd.c: fix undefined reference to `NS8390p_init'

fix:

  drivers/built-in.o: In function `wd_probe1':
  wd.c:(.init.text+0xb247): undefined reference to `NS8390p_init'

that triggers with:

  http://redhat.com/~mingo/misc/config-Mon_Aug_11_10_40_46_CEST_2008.bad

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 drivers/net/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 7629c90..dc6dbf6 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -106,7 +106,7 @@ ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
 	obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
 endif
 obj-$(CONFIG_68360_ENET) += 68360enet.o
-obj-$(CONFIG_WD80x3) += wd.o 8390.o
+obj-$(CONFIG_WD80x3) += wd.o 8390p.o
 obj-$(CONFIG_EL2) += 3c503.o 8390p.o
 obj-$(CONFIG_NE2000) += ne.o 8390p.o
 obj-$(CONFIG_NE2_MCA) += ne2.o 8390p.o
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for August 6, Stephen Rothwell, (Wed Aug 6, 1:28 am)
Re: linux-next: Tree for August 6 (8390 et al), Randy Dunlap, (Wed Aug 6, 5:21 pm)
[PATCH -next] Panasonic ACPI depends on INPUT, Randy Dunlap, (Wed Aug 6, 5:29 pm)
Re: linux-next: Tree for August 6 (8390 et al), Geert Uytterhoeven, (Thu Aug 7, 12:20 am)
Re: linux-next: Tree for August 6 (8390 et al), Alan Cox, (Thu Aug 7, 2:29 am)
[PATCH] net, wd.c: fix undefined reference to `NS8390p_init', Ingo Molnar, (Mon Aug 11, 2:11 am)
Re: [PATCH -next] Panasonic ACPI depends on INPUT, Andi Kleen, (Mon Aug 11, 4:25 am)