From: Art Haas <ahaas@airmail.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] PnP fix for latest BK Kernel
Date: Mon, 13 Jan 2003 12:39:30 -0600 [thread overview]
Message-ID: <20030113183930.GA2336@pcdebian.artsapartment.org> (raw)
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
reply other threads:[~2003-01-13 18:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030113183930.GA2336@pcdebian.artsapartment.org \
--to=ahaas@airmail.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®