USB: uhci: mark root_hub_hub_des[] as const
authorMing Lei <[email protected]>
Sun, 8 Jun 2008 08:44:40 +0000 (16:44 +0800)
committerGreg Kroah-Hartman <[email protected]>
Mon, 21 Jul 2008 22:16:30 +0000 (15:16 -0700)
mark this array as const because it is read-only

Signed-off-by: Ming Lei <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/uhci-hub.c

index 8e4427aebb142e00d79b83e4624697b8d746ce33..885b585360b967f23661c015dd8945371f5fa058 100644 (file)
@@ -12,7 +12,7 @@
  * (C) Copyright 2004 Alan Stern, [email protected]
  */
 
-static __u8 root_hub_hub_des[] =
+static const __u8 root_hub_hub_des[] =
 {
        0x09,                   /*  __u8  bLength; */
        0x29,                   /*  __u8  bDescriptorType; Hub-descriptor */