diff options
author | wwang <wei_wang@realsil.com.cn> | 2011-02-15 04:02:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 13:53:26 -0500 |
commit | 8a9e658ad3bea034d34e47acc7ea7e5e628fc893 (patch) | |
tree | c0c89caf0bb9b8d1a4332ae6fc31abbbf7b118d8 /drivers/usb/storage/realtek_cr.c | |
parent | 9812f748a149796cc0299757c3ebf49f0915dc3c (diff) |
usb_storage: realtek_cr patch: add const modifier
Add const modifier before global variable realtek_cr_ids.
Signed-off-by: wwang <wei_wang@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/realtek_cr.c')
-rw-r--r-- | drivers/usb/storage/realtek_cr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index 4f6b25fc6bdd..d509a4a7d74f 100644 --- a/drivers/usb/storage/realtek_cr.c +++ b/drivers/usb/storage/realtek_cr.c | |||
@@ -141,7 +141,7 @@ static int init_realtek_cr(struct us_data *us); | |||
141 | .driver_info = (flags)|(USB_US_TYPE_STOR<<24)\ | 141 | .driver_info = (flags)|(USB_US_TYPE_STOR<<24)\ |
142 | } | 142 | } |
143 | 143 | ||
144 | static struct usb_device_id realtek_cr_ids[] = { | 144 | static const struct usb_device_id realtek_cr_ids[] = { |
145 | # include "unusual_realtek.h" | 145 | # include "unusual_realtek.h" |
146 | { } /* Terminating entry */ | 146 | { } /* Terminating entry */ |
147 | }; | 147 | }; |