Hi.

Here is a small patch changing the GNU-style initializers to C99
initializers. The patch is against the current BK.

I sent this patch to Greg K-H but forgot to send it to the list a day or
two ago ...

Art Haas

===== drivers/usb/serial/keyspan.h 1.21 vs edited =====
--- 1.21/drivers/usb/serial/keyspan.h   Mon Feb  9 06:00:23 2004
+++ edited/drivers/usb/serial/keyspan.h Thu Feb 26 07:25:09 2004
@@ -359,19 +359,19 @@
 };
 
 static const struct keyspan_device_details usa19hs_device_details = {
-       product_id:             keyspan_usa19hs_product_id,
-       msg_format:             msg_usa90,
-       num_ports:              1,
-       indat_endp_flip:        0,
-       outdat_endp_flip:       0,
-       indat_endpoints:        {0x81},
-       outdat_endpoints:       {0x01},
-       inack_endpoints:        {-1},
-       outcont_endpoints:      {0x02},
-       instat_endpoint:        0x82,
-       glocont_endpoint:       -1,
-       calculate_baud_rate:    keyspan_usa19hs_calc_baud,
-       baudclk:                KEYSPAN_USA19HS_BAUDCLK,
+       .product_id             = keyspan_usa19hs_product_id,
+       .msg_format             = msg_usa90,
+       .num_ports              = 1,
+       .indat_endp_flip        = 0,
+       .outdat_endp_flip       = 0,
+       .indat_endpoints        = {0x81},
+       .outdat_endpoints       = {0x01},
+       .inack_endpoints        = {-1},
+       .outcont_endpoints      = {0x02},
+       .instat_endpoint        = 0x82,
+       .glocont_endpoint       = -1,
+       .calculate_baud_rate    = keyspan_usa19hs_calc_baud,
+       .baudclk                = KEYSPAN_USA19HS_BAUDCLK,
 };
 
 static const struct keyspan_device_details usa28_device_details = {
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to