summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-16 16:11:09 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-16 16:11:09 +0000
commit689020f68976feb63220e1938922203a2de66b6b (patch)
tree4e7995ed559d84714c812fea1f9e2c0b548010ff /firmware
parent5ff61eee6a3980c887b2e371acc44fda5d9380b6 (diff)
downloadrockbox-689020f68976feb63220e1938922203a2de66b6b.tar.gz
rockbox-689020f68976feb63220e1938922203a2de66b6b.tar.bz2
rockbox-689020f68976feb63220e1938922203a2de66b6b.zip
Fix yellow. usb_strings needs to point to const data as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usbstack/usb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c
index ea00948619..5bd18fb6be 100644
--- a/firmware/usbstack/usb_core.c
+++ b/firmware/usbstack/usb_core.c
@@ -168,7 +168,7 @@ static const struct usb_string_descriptor __attribute__((aligned(2)))
{'C','h','a','r','g','i','n','g',' ','o','n','l','y'}
};
-static struct usb_string_descriptor* const usb_strings[] =
+static const struct usb_string_descriptor* const usb_strings[] =
{
&lang_descriptor,
&usb_string_iManufacturer,