[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1297760567-4053-1-git-send-email-wei_wang@realsil.com.cn>
Date: Tue, 15 Feb 2011 17:02:47 +0800
From: <wei_wang@...lsil.com.cn>
To: <gregkh@...e.de>, <devel@...uxdriverproject.org>,
<linux-kernel@...r.kernel.org>
CC: wwang <wei_wang@...lsil.com.cn>
Subject: [PATCH] usb_storage: realtek_cr patch: add const modifier
From: wwang <wei_wang@...lsil.com.cn>
Add const modifier before global variable realtek_cr_ids.
Signed-off-by: wwang <wei_wang@...lsil.com.cn>
---
drivers/usb/storage/realtek_cr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c
index 4f6b25f..d509a4a 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 */
};
--
1.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists