Staging: wlan-ng: convert usb_prism_tbl[] array into a const array
authorClaudiu Beznea <claudiu.beznea@gmail.com>
Fri, 25 Mar 2016 21:28:54 +0000 (23:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:43:14 +0000 (12:43 -0700)
This patch convert usb_prism_tbl[] into a const array
since it is not modified anywhere in prism2usb.c file.

Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2usb.c

index 41358bbc624673bf145b978098874dcb3eb6a91a..b26d09ff840c1238b0dbca0e477941c5f82f5466 100644 (file)
@@ -8,7 +8,7 @@
        { USB_DEVICE(vid, pid),                 \
        .driver_info = (unsigned long)name }
 
-static struct usb_device_id usb_prism_tbl[] = {
+static const struct usb_device_id usb_prism_tbl[] = {
        PRISM_DEV(0x04bb, 0x0922, "IOData AirPort WN-B11/USBS"),
        PRISM_DEV(0x07aa, 0x0012, "Corega Wireless LAN USB Stick-11"),
        PRISM_DEV(0x09aa, 0x3642, "Prism2.x 11Mbps WLAN USB Adapter"),