Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a9e658a authored by wwang's avatar wwang Committed by Greg Kroah-Hartman
Browse files

usb_storage: realtek_cr patch: add const modifier



Add const modifier before global variable realtek_cr_ids.

Signed-off-by: default avatarwwang <wei_wang@realsil.com.cn>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9812f748
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
};