From: wwang Date: Tue, 15 Feb 2011 09:02:47 +0000 (+0800) Subject: usb_storage: realtek_cr patch: add const modifier X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8a9e658ad3bea034d34e47acc7ea7e5e628fc893;p=linux-beck.git usb_storage: realtek_cr patch: add const modifier Add const modifier before global variable realtek_cr_ids. Signed-off-by: wwang Signed-off-by: Greg Kroah-Hartman --- 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); .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 */ };