From: Stelian Pop <stelian.pop@fr.alcove.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4.9-ac16] usb serial compile error.
Date: Fri, 28 Sep 2001 11:52:03 +0200 [thread overview]
Message-ID: <20010928115203.F21524@come.alcove-fr> (raw)
When compiling a USB serial driver (mct_u232 in my case)
without USB generic serial support, the compile process
stops because of undefined 'vendor' and 'product'
symbols.
The attached patch corrects this issue.
Stelian.
--- linux-2.4.9-ac16/drivers/usb/serial/usbserial.c.orig Fri Sep 28 11:35:39 2001
+++ linux-2.4.9-ac16/drivers/usb/serial/usbserial.c Fri Sep 28 11:35:52 2001
@@ -323,11 +323,10 @@
static void generic_write_bulk_callback (struct urb *urb);
static void generic_shutdown (struct usb_serial *serial);
-
-#ifdef CONFIG_USB_SERIAL_GENERIC
static __u16 vendor = 0x05f9;
static __u16 product = 0xffff;
+#ifdef CONFIG_USB_SERIAL_GENERIC
static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */
/* All of the device info needed for the Generic Serial Converter */
--
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|
next reply other threads:[~2001-09-28 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-28 9:52 Stelian Pop [this message]
2001-09-28 16:55 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010928115203.F21524@come.alcove-fr \
--to=stelian.pop@fr.alcove.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®