提交 8a9e658a 编写于 作者: W wwang 提交者: Greg Kroah-Hartman

usb_storage: realtek_cr patch: add const modifier

Add const modifier before global variable realtek_cr_ids.
Signed-off-by: Nwwang <wei_wang@realsil.com.cn>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9812f748
...@@ -141,7 +141,7 @@ static int init_realtek_cr(struct us_data *us); ...@@ -141,7 +141,7 @@ static int init_realtek_cr(struct us_data *us);
.driver_info = (flags)|(USB_US_TYPE_STOR<<24)\ .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" # include "unusual_realtek.h"
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册