Messages in this thread Patch in this message | | | Date | Mon, 2 Feb 2004 20:47:43 +0100 | From | Kronos <> | Subject | [Compile Regression in 2.4.25-pre8][PATCH 18/42] |
| |
Fix compilation when compiled as module.
diff -Nru -X dontdiff linux-2.4-vanilla/include/asm-i386/hc_sl811-hw.h linux-2.4/include/asm-i386/hc_sl811-hw.h --- linux-2.4-vanilla/include/asm-i386/hc_sl811-hw.h Tue Nov 11 17:51:39 2003 +++ linux-2.4/include/asm-i386/hc_sl811-hw.h Sat Jan 31 17:47:43 2004 @@ -20,11 +20,11 @@ */ -#ifdef MODULE - #define MAX_CONTROLERS 2 /* Max number of SL811 controllers per module */ static int io_base = 0x220; static int irq = 12; + +#ifdef MODULE MODULE_PARM(io_base,"i"); MODULE_PARM_DESC(io_base,"sl811 base address 0x220"); -- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net I went to God just to see And I was looking at me Saw heaven and hell were lies When I'm God everyone dies - 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/
| |