Hi.
Here are two patches that convert the files to use C99 initializers. The
patches are against current BK.
Art Haas
===== drivers/usb/input/kbtab.c 1.1 vs edited =====
--- 1.1/drivers/usb/input/kbtab.c Sat Feb 22 02:07:20 2003
+++ edited/drivers/usb/input/kbtab.c Wed Apr 2 06:56:26 2003
@@ -91,7 +91,7 @@
}
struct usb_device_id kbtab_ids[] = {
- { USB_DEVICE(USB_VENDOR_ID_KBGEAR, 0x1001), driver_info : 0 },
+ { USB_DEVICE(USB_VENDOR_ID_KBGEAR, 0x1001), .driver_info = 0 },
{ }
};
===== drivers/usb/serial/keyspan.h 1.16 vs edited =====
--- 1.16/drivers/usb/serial/keyspan.h Wed Feb 26 10:28:00 2003
+++ edited/drivers/usb/serial/keyspan.h Wed Apr 2 06:58:43 2003
@@ -411,19 +411,19 @@
};
static const struct keyspan_device_details usa49wlc_device_details = {
- product_id: keyspan_usa49wlc_product_id,
- msg_format: msg_usa49,
- num_ports: 4,
- indat_endp_flip: 0,
- outdat_endp_flip: 0,
- indat_endpoints: {0x81, 0x82, 0x83, 0x84},
- outdat_endpoints: {0x01, 0x02, 0x03, 0x04},
- inack_endpoints: {-1, -1, -1, -1},
- outcont_endpoints: {-1, -1, -1, -1},
- instat_endpoint: 0x87,
- glocont_endpoint: 0x07,
- calculate_baud_rate: keyspan_usa19w_calc_baud,
- baudclk: KEYSPAN_USA19W_BAUDCLK,
+ .product_id = keyspan_usa49wlc_product_id,
+ .msg_format = msg_usa49,
+ .num_ports = 4,
+ .indat_endp_flip = 0,
+ .outdat_endp_flip = 0,
+ .indat_endpoints = {0x81, 0x82, 0x83, 0x84},
+ .outdat_endpoints = {0x01, 0x02, 0x03, 0x04},
+ .inack_endpoints = {-1, -1, -1, -1},
+ .outcont_endpoints = {-1, -1, -1, -1},
+ .instat_endpoint = 0x87,
+ .glocont_endpoint = 0x07,
+ .calculate_baud_rate = keyspan_usa19w_calc_baud,
+ .baudclk = KEYSPAN_USA19W_BAUDCLK,
};
static const struct keyspan_device_details *keyspan_devices[] = {
--
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel