From patchwork Tue Jun 3 12:04:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4287831 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3D5A9BEEA7 for ; Tue, 3 Jun 2014 12:05:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 811F620272 for ; Tue, 3 Jun 2014 12:05:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9904920253 for ; Tue, 3 Jun 2014 12:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755086AbaFCMFE (ORCPT ); Tue, 3 Jun 2014 08:05:04 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:58899 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755078AbaFCMFB (ORCPT ); Tue, 3 Jun 2014 08:05:01 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6L00FM5DKC8L50@mailout1.samsung.com> for linux-spi@vger.kernel.org; Tue, 03 Jun 2014 21:05:00 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 36.D7.24374.BE9BD835; Tue, 03 Jun 2014 21:04:59 +0900 (KST) X-AuditID: cbfee68d-b7fd46d000005f36-aa-538db9ebbf0b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id AC.60.07139.BE9BD835; Tue, 03 Jun 2014 21:04:59 +0900 (KST) Received: from DOJG1HAN03 ([12.36.165.116]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6L007IGDKBXH30@mmp2.samsung.com>; Tue, 03 Jun 2014 21:04:59 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, 'Jingoo Han' , 'Kuninori Morimoto' References: <001e01cf7f23$946c4460$bd44cd20$%han@samsung.com> In-reply-to: <001e01cf7f23$946c4460$bd44cd20$%han@samsung.com> Subject: [PATCH 3/3] spi: sh-hspi: Make of_device_id array const Date: Tue, 03 Jun 2014 21:04:59 +0900 Message-id: <002001cf7f24$0b0b64c0$21222e40$%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: Ac9/I5RWxc5MmEulTy+qZhxFs/HFQAAAFYTg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zA93XO3uDDZYfsLGY+vAJm8XlhZdY LV4d3sVo0fjxJrsDi8emVZ1sHt/OTGTx6NuyitHj8ya5AJYoLpuU1JzMstQifbsEroybUz+z F8xlrfjfN5OpgXExSxcjB4eEgInE+4kKXYycQKaYxIV769m6GLk4hASWMUqsePSBCSJhIvHt z19miMR0RomfM1uYQRJCAr8ZJZ5cEQWx2QTUJL58OcwOMlREQFXi/yt3kDCzQLXEzLM3WCHK bSUWfJ3MDmJzCthJHPg4BcwWFnCQePyrgRHEZgFqXbr3C9h4XqD6y5v3sEPYghI/Jt9jgZip JbF+53EmCFteYvOat8wQv6hLPPqrCxIWETCSaLuzmQ2iRERi34t3jCDnSwicY5c4dfggE8Qu AYlvkw9Bw0FWYtMBZoh3JSUOrrjBMoFRYhaSzbOQbJ6FZPMsJCsWMLKsYhRNL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BSePJ3mn45rdAzc/vGehPWfebVathOOz9Te/srO/2VPt/K9jg/TOEwzep5cq Pn79/8Tl9danrV4qHHhp2vzCdOXqat9DfbMDZ13J1v9z9JpR8FajGbfbfv6Kr+kRE/7bJlMg eUHq+6d8+SQpvuZp21t9pn//o8RSnJFoqMVcVJwIAIagPV08AwAA 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 Acked-by: Geert Uytterhoeven Acked-by: Kuninori Morimoto --- drivers/spi/spi-sh-hspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c index c8e795e..94b5fae 100644 --- a/drivers/spi/spi-sh-hspi.c +++ b/drivers/spi/spi-sh-hspi.c @@ -304,7 +304,7 @@ static int hspi_remove(struct platform_device *pdev) return 0; } -static struct of_device_id hspi_of_match[] = { +static const struct of_device_id hspi_of_match[] = { { .compatible = "renesas,hspi", }, { /* sentinel */ } };