From 24ba718974ef1729314879ba3a32a96ed98df964 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 23 Mar 2013 23:30:54 +0100 Subject: [PATCH] am7xxx: make the supported_device array const --- src/am7xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.1.4