Hi.
Here's a small patch for switching this file to use C99 initializers.
The patch is against 2.5.50.
Art Haas
--- linux-2.5.50/drivers/usb/serial/safe_serial.c.old 2002-10-31 16:20:17.000000000
-0600
+++ linux-2.5.50/drivers/usb/serial/safe_serial.c 2002-12-05 20:10:33.000000000
+-0600
@@ -134,11 +134,11 @@
#define MY_USB_DEVICE(vend,prod,dc,ic,isc) \
match_flags: USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_DEV_CLASS | \
USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_SUBCLASS, \
- idVendor: (vend), \
- idProduct: (prod),\
- bDeviceClass: (dc),\
- bInterfaceClass: (ic), \
- bInterfaceSubClass: (isc),
+ .idVendor = (vend), \
+ .idProduct = (prod),\
+ .bDeviceClass = (dc),\
+ .bInterfaceClass = (ic), \
+ .bInterfaceSubClass = (isc),
static struct usb_device_id id_table[] = {
{MY_USB_DEVICE (0x49f, 0xffff, CDC_DEVICE_CLASS, LINEO_INTERFACE_CLASS,
LINEO_INTERFACE_SUBCLASS_SAFESERIAL)}, // Itsy
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel