From: Michael Buesch <freesoftwaredeveloper@web.de>
To: bboett@adlp.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.67 compile problem...
Date: Thu, 10 Apr 2003 18:06:59 +0200 [thread overview]
Message-ID: <200304101806.59241.freesoftwaredeveloper@web.de> (raw)
In-Reply-To: <20030410142506.GM29225@adlp.org>
On Thursday 10 April 2003 16:25, Bruno Boettcher wrote:
> On Tue, Apr 08, 2003 at 08:56:12PM +0200, Michael Buesch wrote:
> > This may fix it. (It's not tested)
>
> partly :D
oops. :) Give this one a try:
(patch against 2.5.67)
--- drivers/block/ps2esdi.c.orig 2003-04-10 17:44:57.000000000 +0200
+++ drivers/block/ps2esdi.c 2003-04-10 18:01:48.000000000 +0200
@@ -107,7 +107,7 @@
static int ps2esdi_slot = -1;
static int tp720esdi = 0; /* Is it Integrated ESDI of ThinkPad-720? */
static int intg_esdi = 0; /* If integrated adapter */
-struct ps2esdi_i_struct {
+struct ps2_esdi_i_struct {
unsigned int head, sect, cyl, wpcom, lzone, ctl;
};
static spinlock_t ps2esdi_lock = SPIN_LOCK_UNLOCKED;
@@ -165,7 +165,6 @@
return 0;
} /* ps2esdi_init */
-module_init(ps2esdi_init);
#ifdef MODULE
@@ -200,6 +199,8 @@
void
cleanup_module(void) {
+ int i;
+
if(ps2esdi_slot) {
mca_mark_as_unused(ps2esdi_slot);
mca_set_adapter_procfn(ps2esdi_slot, NULL, NULL);
@@ -214,6 +215,8 @@
put_disk(ps2esdi_gendisk[i]);
}
}
+#else /* MODULE */
+module_init(ps2esdi_init);
#endif /* MODULE */
/* handles boot time command line parameters */
Regards
Michael Buesch.
--
My homepage: http://www.8ung.at/tuxsoft
fighting for peace is like fu**ing for virginity
next prev parent reply other threads:[~2003-04-10 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 18:06 2.5.67 compile problem Bruno Boettcher
2003-04-08 18:56 ` Michael Buesch
2003-04-10 14:25 ` Bruno Boettcher
2003-04-10 16:06 ` Michael Buesch [this message]
2003-04-10 16:14 ` Michael Buesch
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=200304101806.59241.freesoftwaredeveloper@web.de \
--to=freesoftwaredeveloper@web.de \
--cc=bboett@adlp.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.