mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PnP fix for latest BK Kernel
@ 2003-01-13 18:39 Art Haas
  0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-01-13 18:39 UTC (permalink / raw)
  To: linux-kernel

Hi.

I need the following to avoid the following errors when trying to build
the latest BK-Kernel ...

drivers/built-in.o(.init.text+0x2dfb): In function `isapnp_init':
: undefined reference to `isapnp_card_protocol'
drivers/built-in.o(.init.text+0x2e04): In function `isapnp_init':
: undefined reference to `isapnp_card_protocol'
drivers/built-in.o(.init.text+0x2e76): In function `isapnp_init':
: undefined reference to `isapnp_card_protocol'

The "isapnp_card_protocol" structure was removed in revision 1.25 of
core.c, but it's usage was readded in revision 1.27. The command

"bk revtool drivers/pnp/isapnp/core.c"

will show this.

There is also difference between rev 1.25.1.1 and 1.28 with using
subsys_initcall() -vs- device_initcall(). I don't know which should be
used.

Art Haas

===== drivers/pnp/isapnp/core.c 1.28 vs edited =====
--- 1.28/drivers/pnp/isapnp/core.c	Sun Jan 12 13:47:36 2003
+++ edited/drivers/pnp/isapnp/core.c	Mon Jan 13 11:41:54 2003
@@ -1125,7 +1125,7 @@
 	isapnp_build_device_list();
 	cards = 0;
 
-	protocol_for_each_card(&isapnp_card_protocol,card) {
+	protocol_for_each_card(&isapnp_protocol,card) {
 		cards++;
 		if (isapnp_verbose) {
 			printk(KERN_INFO "isapnp: Card '%s'\n", card->name[0]?card->name:"Unknown");
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-13 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-13 18:39 [PATCH] PnP fix for latest BK Kernel Art Haas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®