Message ID | 87r3e8vfl8.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5E2E4C0553 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 14 Apr 2016 07:07:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEBD4202DD for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 14 Apr 2016 07:07:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECD2D20295 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 14 Apr 2016 07:07:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178AbcDNHHV (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Thu, 14 Apr 2016 03:07:21 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:13257 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752434AbcDNHHT (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Thu, 14 Apr 2016 03:07:19 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 14 Apr 2016 16:07:16 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 6AEE34E16E; Thu, 14 Apr 2016 16:07:16 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 6A8212806E; Thu, 14 Apr 2016 16:07:16 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 6214E2806D; Thu, 14 Apr 2016 16:07:16 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id SAL11094; Thu, 14 Apr 2016 16:07:16 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="208923729" Received: from mail-hk2apc01lp0216.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.216]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 14 Apr 2016 16:07:14 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jywBRUW5fRA1YfWxMNEv1j+2eofZoW4h3bJak10vShE=; b=TnAisblszd346sbtwq3VX4a3FJZ+IZnBW8sdfNyaeDnC+5xWNGqQGbN+NocaQpA34C8v2xZB/MDjtqbdMwUm+WA0TiKRW0f0ofQBx0mPBQKvssn0c2MiL0mqLP9k+NH02w+YOGYS6Q352IjBg5BalNMB60VYWRK4WstwSlopD9I= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB1711.apcprd06.prod.outlook.com (10.167.82.141) with Microsoft SMTP Server (TLS) id 15.1.453.26; Thu, 14 Apr 2016 07:07:06 +0000 Message-ID: <87r3e8vfl8.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH] of: add missing const for of_parse_phandle_with_args() in !CONFIG_OF User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Grant Likely <grant.likely@linaro.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Guennadi Liakhovetski <g.liakhovetski@gmx.de> CC: <kbuild-all@01.org>, Mark Brown <broonie@kernel.org>, Laurent <laurent.pinchart@ideasonboard.com>, Lars-Peter Clausen <lars@metafoo.de>, Jose Abreu <Jose.Abreu@synopsys.com>, Linux-DT <devicetree@vger.kernel.org>, Linux-ALSA <alsa-devel@alsa-project.org>, Liam Girdwood <lgirdwood@gmail.com>, Linux-Renesas <linux-renesas-soc@vger.kernel.org>, Simon <horms@verge.net.au> In-Reply-To: <201604141448.2STegOrD%fengguang.wu@intel.com> References: <87y48gvj9i.wl%kuninori.morimoto.gx@renesas.com> <201604141448.2STegOrD%fengguang.wu@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Thu, 14 Apr 2016 07:07:06 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0029.jpnprd01.prod.outlook.com (10.164.162.11) To SG2PR06MB1711.apcprd06.prod.outlook.com (10.167.82.141) X-MS-Office365-Filtering-Correlation-Id: 81da3637-5c15-4ddd-34c6-08d3643367a6 X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1711; 2:02iIN4gB9OKWZtui/JMwImn6aagNKXpeWjfAlCsN4yR1ARdxo9sFsWTcgjUQF2jcRwcTSzBbI32s2g8vYJ8IeyxnUSVIVGAMX+VW7hTAxQsUBx3QtBDiEgHHnuuCcHfn2bBr81VfVfdoWjfqSWYw9L7/VJDeNN7B7gGsmPwOTF5Nt965howaYX5rGOBXaC6e; 3:1LjKDdGYCdHTIZE2Cu05R1hWobZ/UpGbaISjxZ9P09MU9bGhyvGcX+b4UhyMM+bHzVtEj9hLK1a1vBglO/BvsI5ZytePWR8uaAdU4DzxQh9/p9FgmXb3SVAJ7d4HYho6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR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u4ZivjC+GV0r8fwa8QolS2EpNAsFtU6R79/VCUwg8q9EokITaE6gTUsA+YCpx08q7rG5vQtR8Xh7RvePRnVcS3Uqpw6UhiwuPttQT8E4hbOV7WMtNMSk5zu1oKdt7WETH/lXElep0Z1CKICw2Xbnswy0z/smCJ01yCGKlKAf6ULNSY0UYNFZkE/bfPbV; 4:dUzTy0skOiqZOflK8fZUXASWEwYlLHLAAjHhTpFyukkHz65dj01grrcVj9Typy+UfocOVz6NLVrxCKh6UuBSo72RwK+1WijOQDc+KfkfubF3SoJ2wHHAwp8b5PHbp+KzoRSBFCg9G45I19DbNEpcAi1Fop+a1vVwSTXBTZMnR+W4MP6u4Gj0XlEIxc3b4MOBe64bDKJwwwQNp+YmQWh64cQtfKNu0yqdMEqQ52O39kQVoZjAbqomVTfZRR0uqK7JgDHmUSGLatkzyhXDrLPiUkgL4lpDSKGtUCIHb9G5P+qm/tyTBqipaJ1vM2bo0amDRLZEl2WlXDFR16IhEsRRxR6+NXKFV/YT0gl+R7F0lqK7y8Z0K2+q+niNLc7tFPiHbI8SX7nGeUjEzokwArn48w== X-Microsoft-Antispam-PRVS: <SG2PR06MB17116670AD9C2E2F0983AA4BD4970@SG2PR06MB1711.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:SG2PR06MB1711; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1711; X-Forefront-PRVS: 0912297777 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(83506001)(5004730100002)(42186005)(36756003)(53416004)(50986999)(54356999)(76176999)(46406003)(2950100001)(77096005)(189998001)(50466002)(86362001)(4001350100001)(5001770100001)(2201001)(1096002)(66066001)(47776003)(229853001)(4326007)(92566002)(2906002)(81166005)(5008740100001)(586003)(3846002)(33646002)(19580405001)(19580395003)(6116002)(23726003)(7059030)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1711; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1711; 23:pDTb9oHvfWQmSwKgvTCrZ3eYzkl5VyG/90PzWz5nD?= =?us-ascii?Q?apZEmnX/6nxszharmLx+E5MTrBRcuq3EDyMEzJnQI+cr2n4X4TvQ/RjvabdX?= =?us-ascii?Q?ff6n5VxE6XSxUEjGPeIkzxpXN6BCXgRY1B951Pt7UVKJvYwPvCWjYYJKuy1g?= =?us-ascii?Q?dLILwSAdTc3nhT50HLA9kbFoQLjIFdZfCe4z/MzXhhPuDGp0V2WLrBBScZ8u?= =?us-ascii?Q?qiZRgvUAmur7B640G2XFkKmDbgpPYWumbOOZAtMMVPZoKuwyWEugpY6VfxLm?= =?us-ascii?Q?EafVTRW9/WiwKdDabXhKVQqao7VUN4SkfK1+VKx268XVol4V8+isyXAY+s5+?= =?us-ascii?Q?Q0jteU8qOcC9aoPNQW/9uD8lgs6UFbWwLhBNHbQRPBkL2DylVt0Qy6i5yYqc?= =?us-ascii?Q?2dvOXoZSjak7bbce6+a2DwDYzyjTgDEyrS9qSaaHw7S6P/BV+Hy1Sv508VgA?= =?us-ascii?Q?tt5d1B0+TCWl4GrpkhP0RK8quHgnKTHx9dFOXhU213q8vglH+KmKobdeqXGO?= =?us-ascii?Q?YMG7+zu81Pwqwi6eWkR0Bdskepilmj+4Gb+HRhXMhOdCtC730O8Ea1mGHU7a?= =?us-ascii?Q?KjxzA0v/uduLI58cvFK3880ecOd8zHPXzxnok4lZFFNan7oXBCUFldX8XiZt?= =?us-ascii?Q?RKh6abci9wHctRnXIOruj8CwT0MyPROEZlo3U0P8F9Z3qqZtHyeTiTlzL0Oj?= =?us-ascii?Q?GWA7IjIVvmPrqb3NsDb5WUCh2JjNIU4CK9aMLNsOeHQUOXY1hrV5Rm5rCpQH?= =?us-ascii?Q?3lsSRSs6mNSVskFemmZMBtmOp4JXrWMUhSJgQKFJnTligL5VrzOEku7zoFDu?= =?us-ascii?Q?otBhnd5RJjsb0HzVWT5bOor5bCLHhZJQGx1fQtVz3iI9ASfDuat5eDzH38tH?= =?us-ascii?Q?esrXU/h2B/YeBDTUV04VPHW/l1wwB8SGWr+9hJL85IwPwG2DZlpb+7H79RNt?= =?us-ascii?Q?6OLRuIWFjjygobNR9X5pwI5+/cErKZ21zL3JetHg9xWujz40lEHUJrHhMMBr?= =?us-ascii?Q?6Hj6NlVNG7LCHiv3aaGJIDA?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1711; 5:L0a7XZgpgH4SsLINNB6f7Qk3C0d/fi//inxKrKJqg4CYsExGx0/TFbC14lHcaF+kLsxIapcvfxjpx+Ph1e5vfibomW/RAqPmb/96YSVK4lLjLRGxHDEupc3cSB6WKb79f+BeBI5r0F8aKe+nYRxDNQ==; 24:0oN3YjTEK8OnxsdSiPzinSydm6cYAvIUhDenM1Bf2GWWaDeA9/P41cV6SSksx6/oMct4ODMK6TlIaYup9tH8ZbOWdtNwJojABnRDb0ymDNw=; 20:WQBijHZRdmF7Wgm7AQUYKVx7DH5JcX5tfnJ1JS7DMPPet4xnd/zL5X/0/VnNenHd9AUF7ZNPcpExG6npib2Ll7f4CPQsPdL+a8+JhY6jHRi0/rTLnZ41wCGuT1NXFhv/LqUyW33YrX7MoHt7apuEbXatYPXy5TyTN3FVR3snO8c= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2016 07:07:06.7081 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1711 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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/include/linux/of.h b/include/linux/of.h index 7fcb681..4f2ce1b 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -585,7 +585,7 @@ static inline struct device_node *of_parse_phandle(const struct device_node *np, return NULL; } -static inline int of_parse_phandle_with_args(struct device_node *np, +static inline int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int index,