[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] PnP fix for latest BK Kernel

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 and 1.28 with using
subsys_initcall() -vs- device_initcall(). I don't know which should be

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 @@
cards = 0;

- protocol_for_each_card(&isapnp_card_protocol,card) {
+ protocol_for_each_card(&isapnp_protocol,card) {
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:32    [W:0.030 / U:7.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site