projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5069775
)
am7xxx: make the supported_device array const
author
Antonio Ospite <ospite@studenti.unina.it>
Sat, 23 Mar 2013 22:30:54 +0000
(23:30 +0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sat, 23 Mar 2013 22:45:45 +0000
(23:45 +0100)
src/am7xxx.c
patch
|
blob
|
history
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
94765c1
..
a5e53de
100644
(file)
--- 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 */
};
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,