From: Antonio Ospite Date: Sat, 23 Mar 2013 22:30:54 +0000 (+0100) Subject: am7xxx: make the supported_device array const X-Git-Tag: v0.1.4~37^2 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/24ba718974ef1729314879ba3a32a96ed98df964?ds=sidebyside am7xxx: make the supported_device array const --- diff --git a/src/am7xxx.c b/src/am7xxx.c index 94765c1..a5e53de 100644 --- a/src/am7xxx.c +++ b/src/am7xxx.c @@ -72,7 +72,7 @@ struct am7xxx_usb_device_descriptor { 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,