浏览代码

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>
wwang 14 年之前
父节点
当前提交
8a9e658ad3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/storage/realtek_cr.c

+ 1 - 1
drivers/usb/storage/realtek_cr.c

@@ -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 */
 };