Hi,
g_serial.ko can't be load as module because "debug" is only
defined if G_SERIAL_DEBUG is defined, but "debug" is referenced
in MODULE_PARM().
The patch below against 2.6.6-rc3 should fix that.
Thanks,
Stefan E.
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- linux-ra_alpha-update/drivers/usb/gadget/serial.c~usbg-serial-debug-fix
+++ linux-ra_alpha-update/drivers/usb/gadget/serial.c
@@ -157,8 +157,12 @@
/* debug macro */
#if G_SERIAL_DEBUG
-
static int debug = G_SERIAL_DEBUG;
+#else
+static int debug = 0;
+#endif
+
+#if G_SERIAL_DEBUG
#define gs_debug(format, arg...) \
do { if (debug) printk(KERN_DEBUG format, ## arg); } while(0)
--
Eletztrick Computing - Customized Linux Development
Stefan Eletzhofer, Marktstrasse 43, DE-88214 Ravensburg
http://www.eletztrick.de
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel