diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-16 16:11:09 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-16 16:11:09 +0000 |
| commit | 689020f68976feb63220e1938922203a2de66b6b (patch) | |
| tree | 4e7995ed559d84714c812fea1f9e2c0b548010ff /firmware/usbstack | |
| parent | 5ff61eee6a3980c887b2e371acc44fda5d9380b6 (diff) | |
| download | rockbox-689020f68976feb63220e1938922203a2de66b6b.zip rockbox-689020f68976feb63220e1938922203a2de66b6b.tar.gz rockbox-689020f68976feb63220e1938922203a2de66b6b.tar.bz2 rockbox-689020f68976feb63220e1938922203a2de66b6b.tar.xz | |
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/usbstack')
| -rw-r--r-- | firmware/usbstack/usb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index ea00948..5bd18fb 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, |