The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Manik Raina <manik@cisco.com>
To: axb@cse.nd.edu
Subject: ps2esdi.c broken ?
Date: Wed, 07 Nov 2001 18:50:19 +0530	[thread overview]
Message-ID: <3BE93513.8BFD1565@cisco.com> (raw)

when PS2 ESDI support is enabled (in kernel without module
support) , ps2esdi.c breaks during compilation.

looks like it's missing module.h

ps2esdi.c:153: `THIS_MODULE' undeclared here (not in a function)
ps2esdi.c:153: initializer element for `ps2esdi_fops.owner' is not
constant
ps2esdi.c:157: initializer element for `ps2esdi_fops' is not constant

this fix works ....

--- /home/manik/linux/orig/linux/drivers/block/ps2esdi.c        Fri Oct
26 02:28:34 2001
+++ ./ps2esdi.c Wed Nov  7 18:35:07 2001
@@ -27,6 +27,7 @@
    + reset after read/write error
  */

+#include <linux/module.h>
 #include <linux/config.h>
 #include <linux/major.h>


             reply	other threads:[~2001-11-07 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-07 13:20 Manik Raina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-07 13:42 ps2esdi.c broken ? Manik Raina

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=3BE93513.8BFD1565@cisco.com \
    --to=manik@cisco.com \
    --cc=axb@cse.nd.edu \
    /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