Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754156Ab1BOJD5 (ORCPT ); Tue, 15 Feb 2011 04:03:57 -0500 Received: from rtits2.realtek.com ([60.250.210.242]:54717 "EHLO rtits2.realtek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751592Ab1BOJDy (ORCPT ); Tue, 15 Feb 2011 04:03:54 -0500 From: To: , , CC: wwang Subject: [PATCH] usb_storage: realtek_cr patch: add const modifier Date: Tue, 15 Feb 2011 17:02:47 +0800 X-BOX-Message-Id: p1F93g9t026467 Message-ID: <1297760567-4053-1-git-send-email-wei_wang@realsil.com.cn> X-Mailer: git-send-email 1.7.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 30 From: wwang Add const modifier before global variable realtek_cr_ids. Signed-off-by: wwang --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/