lkml.org 
[lkml]   [1999]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: linux-2.3.23/drivers/usb/ezusb.c could not compile as a module
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.035 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site