Message ID | 001f01cf7f23$e7678da0$b636a8e0$%han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3aea901d6bb43c2809077cf2b2e75d9e836941a1 |
Headers | show
Return-Path: <linux-spi-owner@kernel.org> 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 8B224BEEAA for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 3 Jun 2014 12:04:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E1FE20253 for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 3 Jun 2014 12:04:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 95E6020272 for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 3 Jun 2014 12:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbaFCMEF (ORCPT <rfc822;patchwork-linux-spi@patchwork.kernel.org>); Tue, 3 Jun 2014 08:04:05 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:32981 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbaFCMEB (ORCPT <rfc822;linux-spi@vger.kernel.org>); Tue, 3 Jun 2014 08:04:01 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6L00LBSDIOBED0@mailout2.samsung.com> for linux-spi@vger.kernel.org; Tue, 03 Jun 2014 21:04:00 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 63.A1.14704.0B9BD835; Tue, 03 Jun 2014 21:04:00 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-b4-538db9b06a23 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D8.A5.08203.FA9BD835; Tue, 03 Jun 2014 21:04:00 +0900 (KST) Received: from DOJG1HAN03 ([12.36.165.116]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6L001MRDINIRC0@mmp1.samsung.com>; Tue, 03 Jun 2014 21:03:59 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Mark Brown' <broonie@kernel.org> Cc: linux-spi@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>, 'Kumar Gala' <galak@codeaurora.org>, 'Anton Vorontsov' <anton@enomsg.org> References: <001e01cf7f23$946c4460$bd44cd20$%han@samsung.com> In-reply-to: <001e01cf7f23$946c4460$bd44cd20$%han@samsung.com> Subject: [PATCH 2/3] spi: fsl-spi: Make of_device_id array const Date: Tue, 03 Jun 2014 21:03:59 +0900 Message-id: <001f01cf7f23$e7678da0$b636a8e0$%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/HFQAAAAX3g Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zfd0NO3uDDda+4rA4uFXTYurDJ2wW /W8WslpcXniJ1aLx4012B1aPy329TB4T+j8xemxa1cnm0bdlFaPH501yAaxRXDYpqTmZZalF +nYJXBlrL55hLNjFWjF9mUYD436WLkZODgkBE4n306cwQthiEhfurWfrYuTiEBJYxigx+dVB dpiizy9vMUIkFjFKrDu/gAnC+c0ocWv1V7B2NgE1iS9fDgN1cHCICKhK/H/lDlLDLNDHKNG/ /xszSI2Q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KUTS1ILmgOCk911CvODG3uDQvXS85P3cTIzgJPJPa wbiyweIQowAHoxIP74+9PcFCrIllxZW5hxglOJiVRHj/re8NFuJNSaysSi3Kjy8qzUktPsSY DPToRGYp0eR8YILKK4k3NDYxM7I0MrMwMjE3J01YSZz3QKt1oJBAemJJanZqakFqEcwWJg5O qQbGZLV3lkoHxe74p7e92iN/42bAaufQyqkRv4RWxLKsuFE155zE3/wFp++Ysz6oe7tw8tUj 3By1OUucy+2yCvObVNfznnxvV9cy5fTDx42pmxIm3JbYYnZU3TGsRl2hpMhNVHip0X+5a+4z r1xY99PhX+2VC8sMKtdMk/c2lJU4JZPvdstt5zNRJZbijERDLeai4kQAt8QGU0YDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-spi.vger.kernel.org> 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 |
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 98ccd23..9452f674 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c @@ -58,7 +58,7 @@ static struct fsl_spi_match_data of_fsl_spi_grlib_config = { .type = TYPE_GRLIB, }; -static struct of_device_id of_fsl_spi_match[] = { +static const struct of_device_id of_fsl_spi_match[] = { { .compatible = "fsl,spi", .data = &of_fsl_spi_fsl_config,
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/spi/spi-fsl-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)