am7xxx: make the supported_device array const
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 23 Mar 2013 22:30:54 +0000 (23:30 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 23 Mar 2013 22:45:45 +0000 (23:45 +0100)
src/am7xxx.c

index 94765c1..a5e53de 100644 (file)
@@ -72,7 +72,7 @@ struct am7xxx_usb_device_descriptor {
        uint8_t interface_number; /* The bInterfaceNumber of the device */
 };
 
        uint8_t interface_number; /* The bInterfaceNumber of the device */
 };
 
-static struct am7xxx_usb_device_descriptor supported_devices[] = {
+static const struct am7xxx_usb_device_descriptor supported_devices[] = {
        {
                .name       = "Acer C110",
                .vendor_id  = 0x1de1,
        {
                .name       = "Acer C110",
                .vendor_id  = 0x1de1,