From patchwork Fri Jun 13 16:01:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 359567 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 747A314009E for ; Sat, 14 Jun 2014 02:05:29 +1000 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvTw8-00043T-A1; Fri, 13 Jun 2014 16:02:40 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvTvP-0003oK-Gm for linux-arm-kernel@lists.infradead.org; Fri, 13 Jun 2014 16:01:59 +0000 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0M6t73-1WaXLq0Dq9-00wmYH; Fri, 13 Jun 2014 18:01:31 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/14] ARM: EXYNOS: Fix compilation warning Date: Fri, 13 Jun 2014 18:01:16 +0200 Message-Id: <1402675276-538682-15-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1402675276-538682-1-git-send-email-arnd@arndb.de> References: <1402675276-538682-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V02:K0:bL1wVgPePT3rle/ocBtKARZZhdpMHYWJ7VvKlIXdn/k Aw1F9muyGSoxoPB6XuMwU973wZWuNzUJfEpcia+6/FB3dxPjBK ABFRe9B3URaAGSpmam+aMtEKFgUtR6sKF8Xe8EFQ+/zvBpYc3y LCuJLwEJ1kNOmRmyiYL0LW6k06yEXvknM0zdOWWt+32KvSE2lX NrV5Vd1mvpH2Bw86uX7OSlivlTM/9okY1XNj8cc16Rdqoqau7x 45Whz1L8SnpWSKo+s/lM/MpHWN3SGOxp2sxtJVkCFHLQX3xh4L bLW83ztKX8rTdAVIA5Ux507ABOySHl3+eKtbyJ0q414Ij3rgUE Kz0hbjSXW10/enB1g6IdDnMespqmrE65mVXbDOxOd X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140613_090155_930137_BF7D5E25 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] Cc: Sachin Kamat , Rob Herring , arm@kernel.org, Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Sachin Kamat of_get_flat_dt_prop return type is now const. Fixes the following compilation warning introduced by commit 9d0c4dfedd96 ("of/fdt: update of_get_flat_dt_prop in prep for libfdt") arch/arm/mach-exynos/exynos.c:259:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] Signed-off-by: Sachin Kamat Reviewed-by: Tushar Behera Cc: Rob Herring Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index fb1eadd..f38cf7c 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -220,7 +220,7 @@ static int __init exynos_fdt_map_chipid(unsigned long node, const char *uname, int depth, void *data) { struct map_desc iodesc; - __be32 *reg; + const __be32 *reg; int len; if (!of_flat_dt_is_compatible(node, "samsung,exynos4210-chipid") &&