mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
USB: uhci: mark root_hub_hub_des[] as const
mark this array as const because it is read-only Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
fe9b9034aa
commit
bef4665a2e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
* (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; */
|
||||
0x29, /* __u8 bDescriptorType; Hub-descriptor */
|
||||
|
|
Loading…
Reference in a new issue