lkml.org 
[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] PnP fix for latest BK 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.035 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site