* ps2esdi.c broken ?
@ 2001-11-07 13:42 Manik Raina
0 siblings, 0 replies; 2+ messages in thread
From: Manik Raina @ 2001-11-07 13:42 UTC (permalink / raw)
To: linux-kernel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread* ps2esdi.c broken ?
@ 2001-11-07 13:20 Manik Raina
0 siblings, 0 replies; 2+ messages in thread
From: Manik Raina @ 2001-11-07 13:20 UTC (permalink / raw)
To: axb
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-07 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-07 13:42 ps2esdi.c broken ? Manik Raina
-- strict thread matches above, loose matches on Subject: below --
2001-11-07 13:20 Manik Raina
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.