Re: PATCH: linux-2.3.23/drivers/usb/ezusb.c could not compile as a module

Pavel Machek (pavel@suse.cz)
Sun, 24 Oct 1999 15:13:30 +0200


Hi!

> The init_module() routine in linux-2.3.23/drivers/usb/ezusb.c
> references the nonexistant field "minor" in the ezusb_misc structure.
> The nonexistant field is not referenced anywhere else. It appears
> that the reference to it was an oversight that probably slipped through
> as a result of ezusb being tested by being directly compiled into the
> kernel. Anyhow, here is the one line patch.

That was me who did this mistake, and yes that's the right fix. Please
apply.
Pavel
> diff -u linux{-2.3.23,}/drivers/usb/ezusb.c
> --- linux-2.3.23/drivers/usb/ezusb.c Tue Oct 12 13:25:07 1999
> +++ linux/drivers/usb/ezusb.c Sat Oct 23 18:58:31 1999
> @@ -1077,7 +1077,6 @@
>
> int init_module(void)
> {
> - ezusb_misc.minor = minor;
> return ezusb_init();
> }
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

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