diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-06-08 04:44:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:30 -0400 |
commit | bef4665a2e5145737fa925a5a1a7a8afd1b91acc (patch) | |
tree | 092d6e24d218599cec7c73164f02eb6d2b7fc650 /drivers/usb/host/uhci-hub.c | |
parent | fe9b9034aa6f69dd7bf3bdca4288763ac2cd534a (diff) |
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>
Diffstat (limited to 'drivers/usb/host/uhci-hub.c')
-rw-r--r-- | drivers/usb/host/uhci-hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hub.c b/drivers/usb/host/uhci-hub.c index 8e4427aebb14..885b585360b9 100644 --- a/drivers/usb/host/uhci-hub.c +++ b/drivers/usb/host/uhci-hub.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * (C) Copyright 2004 Alan Stern, stern@rowland.harvard.edu | 12 | * (C) Copyright 2004 Alan Stern, stern@rowland.harvard.edu |
13 | */ | 13 | */ |
14 | 14 | ||
15 | static __u8 root_hub_hub_des[] = | 15 | static const __u8 root_hub_hub_des[] = |
16 | { | 16 | { |
17 | 0x09, /* __u8 bLength; */ | 17 | 0x09, /* __u8 bLength; */ |
18 | 0x29, /* __u8 bDescriptorType; Hub-descriptor */ | 18 | 0x29, /* __u8 bDescriptorType; Hub-descriptor */ |