OSDN Git Service

usb_storage: realtek_cr patch: add const modifier
authorwwang <wei_wang@realsil.com.cn>
Tue, 15 Feb 2011 09:02:47 +0000 (17:02 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:53:26 +0000 (10:53 -0800)
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>
drivers/usb/storage/realtek_cr.c

index 4f6b25f..d509a4a 100644 (file)
@@ -141,7 +141,7 @@ static int init_realtek_cr(struct us_data *us);
        .driver_info = (flags)|(USB_US_TYPE_STOR<<24)\
 }
 
-static struct usb_device_id realtek_cr_ids[] = {
+static const struct usb_device_id realtek_cr_ids[] = {
 #      include "unusual_realtek.h"
        { }             /* Terminating entry */
 };