From: Robert Love <rml@tech9.net>
To: torvalds@transmeta.com
Cc: Keith Owens <kaos@ocs.com.au>, linux-kernel@vger.kernel.org
Subject: [PATCH] Re: 2.4.14 errors on full build - Y
Date: 06 Nov 2001 00:16:52 -0500 [thread overview]
Message-ID: <1005023814.1506.0.camel@phantasy> (raw)
In-Reply-To: <17526.1005022179@ocs3.intra.ocs.com.au>
In-Reply-To: <17526.1005022179@ocs3.intra.ocs.com.au>
On Mon, 2001-11-05 at 23:49, Keith Owens wrote:
> Doing a full build of 2.4.14 (everything set to Y where possible), got
> the usual collection of errors. Some of these errors have been around
> for weeks, any chance of them getting fixed?
> [...]
> drivers/block/ps2esdi.c:153: `THIS_MODULE' undeclared here (not in a function)
> drivers/block/ps2esdi.c:153: initializer element is not constant
> drivers/block/ps2esdi.c:153: (near initialization for `ps2esdi_fops.owner')
> drivers/block/ps2esdi.c:157: initializer element is not constant
> drivers/block/ps2esdi.c:157: (near initialization for `ps2esdi_fops')
Looks like this is just missing module.h ... simple fix attached.
Linus, please apply.
diff -urN linux-2.4.14/drivers/block/ps2esdi.c linux/drivers/block/ps2esdi.c
--- linux-2.4.14/drivers/block/ps2esdi.c Mon Nov 5 20:11:00 2001
+++ linux/drivers/block/ps2esdi.c Tue Nov 6 00:14:57 2001
@@ -47,6 +47,7 @@
#include <linux/mca.h>
#include <linux/init.h>
#include <linux/ioport.h>
+#include <linux/module.h>
#include <asm/system.h>
#include <asm/io.h>
Robert Love
next prev parent reply other threads:[~2001-11-06 5:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-06 4:49 2.4.14 errors on full build - Y Keith Owens
2001-11-06 5:16 ` Robert Love [this message]
2001-11-06 5:22 ` Robert Love
2001-11-06 14:56 ` David Woodhouse
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=1005023814.1506.0.camel@phantasy \
--to=rml@tech9.net \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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