From patchwork Wed May 7 07:52:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4126321 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D3B3C9F23C for ; Wed, 7 May 2014 07:52:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 19A83202DD for ; Wed, 7 May 2014 07:52:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 271BF20154 for ; Wed, 7 May 2014 07:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751469AbaEGHwl (ORCPT ); Wed, 7 May 2014 03:52:41 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:60447 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbaEGHwl (ORCPT ); Wed, 7 May 2014 03:52:41 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57006ED1VRN6D0@mailout4.samsung.com> for linux-spi@vger.kernel.org; Wed, 07 May 2014 16:52:39 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 6E.16.14563.446E9635; Wed, 07 May 2014 16:52:37 +0900 (KST) X-AuditID: cbfee68e-b7fd86d0000038e3-40-5369e644cb19 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 44.B7.27725.446E9635; Wed, 07 May 2014 16:52:36 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5700FLK1VOTV40@mmp2.samsung.com>; Wed, 07 May 2014 16:52:36 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, 'Jingoo Han' , 'Stephen Warren' , 'Laxman Dewangan' References: <01db01cf69c8$584cd640$08e682c0$%han@samsung.com> In-reply-to: <01db01cf69c8$584cd640$08e682c0$%han@samsung.com> Subject: [PATCH 6/6] spi: tegra20-slink: Make of_device_id array const Date: Wed, 07 May 2014 16:52:36 +0900 Message-id: <01e001cf69c9$4ff7b310$efe71930$%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: Ac9pyFg1K3TixSukRxWb7F9+UkSOIQAAN+Ag Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEIsWRmVeSWpSXmKPExsVy+t8zfV3XZ5nBBt//MlpMffiEzeLywkus Fkv3rWaxaPx4k93ixvQWVgdWj02rOtk8epvfsXn0bVnF6PF5k1wASxSXTUpqTmZZapG+XQJX xqK5ixgL9rJVbJp4krWBcSdrFyMnh4SAicTOmWuhbDGJC/fWs3UxcnEICSxjlPh9dAtc0e3G lewQiemMEg0fF0A5vxkltrUsYQSpYhNQk/jy5TBQgoNDREBV4v8rd5AaZoEpjBJXz/9kA6kR ErCV+P/nPjOIzSlgJ3GgaRI7iC0s4CbRcGQjE4jNAtS7dM8BsBpeoPpPm2FsQYkfk++xgNjM AloS63ceZ4Kw5SU2r3nLDLJXQkBd4tFfXZCwiICRxNtfm6HKRST2vXjHCPHMNXaJ+2f9IFYJ SHybfIgFolVWYhPEJgkBSYmDK26wTGCUmIVk8Swki2chWTwLyYYFjCyrGEVTC5ILipPSi4z0 ihNzi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TiozeurPXZ6jdt49tTbJN7zph/DA9Pni9/ddELscDEsCm7 lZuCNzHqTeD5Mevdsssviw+622j4H96mO7cjJaCxIvTa9+Ptz5teTFaaKBp3eZb8/Bkhd0xK dx3hWVxinfWFyT5afdcp7s9HXJYKzY/UV2Ipzkg01GIuKk4EADan79JDAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/spi/spi-tegra20-slink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index e3c1b93..0b9e32e 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c @@ -1001,7 +1001,7 @@ static const struct tegra_slink_chip_data tegra20_spi_cdata = { .cs_hold_time = false, }; -static struct of_device_id tegra_slink_of_match[] = { +static const struct of_device_id tegra_slink_of_match[] = { { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, {}