mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.2.21-pre[34] pl2303.c non-modular compile fix
@ 2002-03-09 13:19 Barry K. Nathan
  2002-03-10  1:31 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Barry K. Nathan @ 2002-03-09 13:19 UTC (permalink / raw)
  To: linux-kernel

The pl2303 driver won't compile for me in Linux 2.2.21-pre3 or -pre4 if
modules are disabled. This might not be the right fix, but it allows the
driver to compile and work for me.

-Barry K. Nathan <barryn@pobox.com>

diff -ruN linux-2.2.21-pre3/drivers/usb/serial/pl2303.c linux-2.2.21-pre3-bknA-1/drivers/usb/serial/pl2303.c
--- linux-2.2.21-pre3/drivers/usb/serial/pl2303.c	Sun Mar  3 23:20:11 2002
+++ linux-2.2.21-pre3-bknA-1/drivers/usb/serial/pl2303.c	Sat Mar  9 04:45:08 2002
@@ -818,7 +818,9 @@
 module_exit(pl2303_exit);
 
 MODULE_DESCRIPTION(DRIVER_DESC);
+#ifdef CONFIG_MODULES
 MODULE_LICENSE("GPL");
+#endif
 
 MODULE_PARM(debug, "i");
 MODULE_PARM_DESC(debug, "Debug enabled or not");

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-10  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-09 13:19 [PATCH] 2.2.21-pre[34] pl2303.c non-modular compile fix Barry K. Nathan
2002-03-10  1:31 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®