Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933252Ab3CSCDn (ORCPT ); Mon, 18 Mar 2013 22:03:43 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:17970 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932750Ab3CSCDm (ORCPT ); Mon, 18 Mar 2013 22:03:42 -0400 X-AuditID: cbfee690-b7f656d0000007e3-90-5147c7766497 From: Jingoo Han To: "'MyungJoo Ham'" Cc: "'Chanwoo Choi'" , linux-kernel@vger.kernel.org, "'Jingoo Han'" References: <000001ce2445$e1927be0$a4b773a0$%han@samsung.com> In-reply-to: <000001ce2445$e1927be0$a4b773a0$%han@samsung.com> Subject: [PATCH 2/2] extcon: max8997: add missing const Date: Tue, 19 Mar 2013 11:03:33 +0900 Message-id: <000101ce2445$f61b7120$e2525360$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4kRd0wUErczhqhS3ap06hUTXi3rAAAAezA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsVy+t8zI92y4+6BBtPuKFhc//Kc1eLywktA YtccNovbjSvYHFg8+rasYvT4vEkugCmKyyYlNSezLLVI3y6BK2Pm+SOsBdfYKu5NeMnawHiA tYuRg0NCwERi0uTMLkZOIFNM4sK99WxdjFwcQgLLGCWez7/DBpEwkdj6bzcjRGI6o8SeBXOY IZxfjBIL5nxnB6liE1CT+PLlMJgtIqAr8fLqbWYQm1kgT2LKkV1gtpCArcT9Nw1MIDangJ3E ve+/2UGuEBYwlzh03wskzCKgKnFyzjkWEJsXqPzItY+MELagxI/J91ggRmpJrN95nAnClpfY vOYtM8Qz6hKP/uqCmCICRhJ/P1lBVIhI7HvxDux8CYF97BKL969ghlglIPFt8iEWiFZZiU0H mCHelZQ4uOIGywRGiVlIFs9CsngWksWz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s+UE1pUILv17AX7yv6E2zEb o+3zPkd7XF+SUNGfM3n+FP1NTyf2zomYNznsv3y67od44R9l4RadLzb8P858q7bkW6MyQ9hk JUOhXPeml2WzTmaEyAu88tnNVx4aw6xn9FZ4bpqOxv4ZrB9y/rPYGe1ZV6skxZ+62nHCz5ct FX+2yCmxFGckGmoxFxUnAgAXtkaeMgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 33 Fixed the checkpatch warning as below: WARNING: static const char * array should probably be static const char * const #163: FILE: drivers/extcon/extcon-max8997.c:163: +static const char *max8997_extcon_cable[] = { Signed-off-by: Jingoo Han --- drivers/extcon/extcon-max8997.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 20772ad..6e8724f 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c @@ -160,7 +160,7 @@ enum { _EXTCON_CABLE_NUM, }; -static const char *max8997_extcon_cable[] = { +static const char const *max8997_extcon_cable[] = { [EXTCON_CABLE_USB] = "USB", [EXTCON_CABLE_USB_HOST] = "USB-Host", [EXTCON_CABLE_TA] = "TA", -- 1.7.2.5 -- 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/