![]() | ||||||||||
Messages in this thread Patch in this message |
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 - 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/ | |||||||||
| Last update: 2005-03-22 12:12 [from the cache] ©2003-2008 | ||||||||||