Re: 2.4.0-pre compile err (pcxx)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 1 Jan 2001 18:07:38 +0000 (GMT)


> when i make bzimage with the pc/xx driver configured as a module, it
> compiles ok. configuring it as built-in gives the following error:

Im amazed it built as a module - thats why I missed the error

> pcxx.c:1826: `mseconds' undeclared (first use in this function)
> pcxx.c:1826: (Each undeclared identifier is reported only once

--- drivers/char/pcxx.c~ Sat Dec 30 01:07:21 2000
+++ drivers/char/pcxx.c Mon Jan 1 17:12:05 2001
@@ -1823,7 +1823,7 @@
*/
static void pcxxdelay(int msec)
{
- mdelay(mseconds);
+ mdelay(msec);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/