Re: kernel 2.6.0 making modules problems
From: Greg KH
Date: Fri Jan 16 2004 - 20:14:18 EST
On Fri, Jan 02, 2004 at 06:28:47PM +0100, Marcel Sebek wrote:
> > CC [M] drivers/usb/serial/whiteheat.o
> > drivers/usb/serial/whiteheat.c: In function `firm_setup_port':
> > drivers/usb/serial/whiteheat.c:1209: `CMSPAR' undeclared (first use in this
> > function)
> > drivers/usb/serial/whiteheat.c:1209: (Each undeclared identifier is reported
> > only once
> > drivers/usb/serial/whiteheat.c:1209: for each function it appears in.)
>
> diff -urN linux-2.6/drivers/usb/serial/whiteheat.c linux-2.6-new/drivers/usb/serial/whiteheat.c
> --- linux-2.6/drivers/usb/serial/whiteheat.c 2003-09-10 16:09:42.000000000 +0200
> +++ linux-2.6-new/drivers/usb/serial/whiteheat.c 2004-01-01 18:29:38.000000000 +0100
> @@ -76,6 +76,7 @@
> #include <linux/module.h>
> #include <linux/spinlock.h>
> #include <asm/uaccess.h>
> +#include <asm/termbits.h>
> #include <linux/usb.h>
> #include <linux/serial_reg.h>
> #include <linux/serial.h>
I've applied this patch, thanks.
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/