Commit bef4665a authored by Ming Lei's avatar Ming Lei Committed by Greg Kroah-Hartman

USB: uhci: mark root_hub_hub_des[] as const

mark this array as const because it is read-only
Signed-off-by: default avatarMing Lei <tom.leiming@gmail.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fe9b9034
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* (C) Copyright 2004 Alan Stern, stern@rowland.harvard.edu * (C) Copyright 2004 Alan Stern, stern@rowland.harvard.edu
*/ */
static __u8 root_hub_hub_des[] = static const __u8 root_hub_hub_des[] =
{ {
0x09, /* __u8 bLength; */ 0x09, /* __u8 bLength; */
0x29, /* __u8 bDescriptorType; Hub-descriptor */ 0x29, /* __u8 bDescriptorType; Hub-descriptor */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment