From patchwork Wed May 7 07:45:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4125911 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 225AEBFF02 for ; Wed, 7 May 2014 07:45:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A084202EB for ; Wed, 7 May 2014 07:45:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E908202EA for ; Wed, 7 May 2014 07:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751134AbaEGHpr (ORCPT ); Wed, 7 May 2014 03:45:47 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:50679 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbaEGHpq (ORCPT ); Wed, 7 May 2014 03:45:46 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N57009IK1K5DR90@mailout3.samsung.com> for linux-spi@vger.kernel.org; Wed, 07 May 2014 16:45:41 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id E1.EA.18501.5A4E9635; Wed, 07 May 2014 16:45:41 +0900 (KST) X-AuditID: cbfee68d-b7f4e6d000004845-38-5369e4a5cc0d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2B.F5.27725.5A4E9635; Wed, 07 May 2014 16:45:41 +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 <0N5700DPB1K5DT90@mmp2.samsung.com>; Wed, 07 May 2014 16:45:41 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, 'Jingoo Han' , 'Chao Fu' Subject: [PATCH 1/6] spi: fsl-dspi: Make of_device_id array const Date: Wed, 07 May 2014 16:45:41 +0900 Message-id: <01db01cf69c8$584cd640$08e682c0$%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+UkSOIQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsVy+t8zA92lTzKDDd4cUbGY/vI7i8XUh0/Y LC4vvMRq0fjxJrsDi8e/w/1MHptWdbJ59G1ZxejxeZNcAEsUl01Kak5mWWqRvl0CV8aStcdZ C46wVjx6vo6tgfEYSxcjJ4eEgInE66svGCFsMYkL99azdTFycQgJLGOUeP74B1xR9+XPrBCJ 6YwSB+fsh3J+M0r83XaMGaSKTUBN4suXw+xdjBwcIgKqEv9fuYOEmQVSJZ7dXQJWIizgKHH8 4VtWEJsFqOTqiyNgNq+ArcS3ByuYIWxBiR+T77FA9GpJrN95nAnClpfYvOYtM8h4CQF1iUd/ dUHCIgJ6EjdWfoYqEZHY9+IdI8hpEgLb2CX2ffnNDLFLQOLb5EMsEL2yEpsOMEP8JSlxcMUN lgmMYrOQbJ6FZPMsJJtnIVmxgJFlFaNoakFyQXFSepGhXnFibnFpXrpecn7uJkZIlPXuYLx9 wPoQYzLQ+onMUqLJ+cAozSuJNzQ2M7IwNTE1NjK3NCNNWEmcN+lhUpCQQHpiSWp2ampBalF8 UWlOavEhRi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u5Ix4qW51MrZWfqTa/wSvfK1GJ pTgj0VCLuag4EQDqmv4tJQMAAA== 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-fsl-dspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index d565eee..5021ddf 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -406,7 +406,7 @@ static irqreturn_t dspi_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -static struct of_device_id fsl_dspi_dt_ids[] = { +static const struct of_device_id fsl_dspi_dt_ids[] = { { .compatible = "fsl,vf610-dspi", .data = NULL, }, { /* sentinel */ } };