[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / generic / patches-2.6.39 / 822-usb_serial_option_add_more_devices.patch
1 --- a/drivers/usb/serial/option.c
2 +++ b/drivers/usb/serial/option.c
3 @@ -148,6 +148,10 @@ static void option_instat_callback(struc
4 #define HUAWEI_PRODUCT_K4505 0x1464
5 #define HUAWEI_PRODUCT_K3765 0x1465
6 #define HUAWEI_PRODUCT_E14AC 0x14AC
7 +#define HUAWEI_PRODUCT_K3770 0x14C9
8 +#define HUAWEI_PRODUCT_K3771 0x14CA
9 +#define HUAWEI_PRODUCT_K4510 0x14CB
10 +#define HUAWEI_PRODUCT_K4511 0x14CC
11 #define HUAWEI_PRODUCT_ETS1220 0x1803
12 #define HUAWEI_PRODUCT_E353 0x1506
13
14 @@ -547,6 +551,14 @@ static const struct usb_device_id option
15 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff) },
16 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ETS1220, 0xff, 0xff, 0xff) },
17 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC, 0xff, 0xff, 0xff) },
18 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x31) },
19 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x32) },
20 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x31) },
21 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x32) },
22 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x31) },
23 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x32) },
24 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x31) },
25 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x32) },
26 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E353, 0xff, 0x01, 0x01) },
27 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) },
28 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) },
This page took 0.044228 seconds and 5 git commands to generate.