Commit 71d3b533 authored by Art Haas's avatar Art Haas Committed by Greg Kroah-Hartman

[PATCH] USB: C99 initializers for drivers/usb/serial/keyspan.h

Here's a small patch changing the GNU-style initializers to C99
initializers. The patch is against the current BK.
parent 0fec6053
...@@ -359,19 +359,19 @@ static const struct keyspan_device_details usa19w_device_details = { ...@@ -359,19 +359,19 @@ static const struct keyspan_device_details usa19w_device_details = {
}; };
static const struct keyspan_device_details usa19hs_device_details = { static const struct keyspan_device_details usa19hs_device_details = {
product_id: keyspan_usa19hs_product_id, .product_id = keyspan_usa19hs_product_id,
msg_format: msg_usa90, .msg_format = msg_usa90,
num_ports: 1, .num_ports = 1,
indat_endp_flip: 0, .indat_endp_flip = 0,
outdat_endp_flip: 0, .outdat_endp_flip = 0,
indat_endpoints: {0x81}, .indat_endpoints = {0x81},
outdat_endpoints: {0x01}, .outdat_endpoints = {0x01},
inack_endpoints: {-1}, .inack_endpoints = {-1},
outcont_endpoints: {0x02}, .outcont_endpoints = {0x02},
instat_endpoint: 0x82, .instat_endpoint = 0x82,
glocont_endpoint: -1, .glocont_endpoint = -1,
calculate_baud_rate: keyspan_usa19hs_calc_baud, .calculate_baud_rate = keyspan_usa19hs_calc_baud,
baudclk: KEYSPAN_USA19HS_BAUDCLK, .baudclk = KEYSPAN_USA19HS_BAUDCLK,
}; };
static const struct keyspan_device_details usa28_device_details = { static const struct keyspan_device_details usa28_device_details = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment