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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:34 EST