From: Ming Lei Date: Sun, 8 Jun 2008 08:44:40 +0000 (+0800) Subject: USB: uhci: mark root_hub_hub_des[] as const X-Git-Tag: v2.6.27-rc1~946^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bef4665a2e5145737fa925a5a1a7a8afd1b91acc;p=platform%2Fkernel%2Flinux-3.10.git USB: uhci: mark root_hub_hub_des[] as const mark this array as const because it is read-only Signed-off-by: Ming Lei Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/uhci-hub.c b/drivers/usb/host/uhci-hub.c index 8e4427a..885b585 100644 --- a/drivers/usb/host/uhci-hub.c +++ b/drivers/usb/host/uhci-hub.c @@ -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 */