From patchwork Mon May 5 09:26:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4113101 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 D8C14BFF02 for ; Mon, 5 May 2014 09:28:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 196E5202AE for ; Mon, 5 May 2014 09:28:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 44C8E2022D for ; Mon, 5 May 2014 09:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756039AbaEEJ2Z (ORCPT ); Mon, 5 May 2014 05:28:25 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:50576 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755586AbaEEJ2W (ORCPT ); Mon, 5 May 2014 05:28:22 -0400 Received: by mail-pa0-f43.google.com with SMTP id bj1so1876809pad.16 for ; Mon, 05 May 2014 02:28:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=wTyOb4WYa7PUxzfihyW1jwKXoL+B5QdEFSAz4ZhIrOY=; b=NrJhanvQBy01CSQKBa7RbrFZdnIMHBLXsjD4llaufNC1PdAnmctPk9Q8O98XnCAlaN Sxv7F2mlRzieDns2nHVY+8tGcpynP1p9rFKSfYdWmCescB848Ln4UjwwiFxn+HTR0Ker MhLOJEN9OsUbM2SFtRGSvPDrKhivKdLtpkAsFxM4ucbMyRe2lLUMkZTsOw85hKy4LbGs 93g4oKbLpDPdHELvgGVESbOmJ0AScejn3gq237/PUJXkkVBIu+k6pfYes24Y5QvazZCe Kofwt/84jfL75Vz+DT3006nsx462kjCek4XQ+KgfdrwO/kjkC8zKKSLhTRsaFumE4dmJ HLPg== X-Gm-Message-State: ALoCoQl6siFInfwYRJJCSB8COPFtHILPqBwbH2EOo+XTH0zBsUfemlAUZ06cwIf9FeF2no1kiOXx X-Received: by 10.66.254.166 with SMTP id aj6mr69787387pad.11.1399282101247; Mon, 05 May 2014 02:28:21 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id bs17sm66928156pac.28.2014.05.05.02.28.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:28:20 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, kgene.kim@samsung.com, sachin.kamat@linaro.org, Rob Herring Subject: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning Date: Mon, 5 May 2014 14:56:48 +0530 Message-Id: <1399282008-9738-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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=ham 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 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 Cc: Rob Herring Reviewed-by: Tushar Behera --- Based on linux-next (20140505) --- 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 77293d39dfc9..f356c67a1fa9 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -249,7 +249,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") &&