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: 345646 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 [198.137.202.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 892791402D5 for ; Mon, 5 May 2014 19:31:31 +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 1WhFCb-0007M4-Ag; Mon, 05 May 2014 09:28:49 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WhFCV-00074p-69 for linux-arm-kernel@lists.infradead.org; Mon, 05 May 2014 09:28:43 +0000 Received: by mail-pa0-f50.google.com with SMTP id fb1so1893384pad.9 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=FbCTF33KONPCZVwBQs95K7JTfNUL8ss7dlvU5Jp7p09RnYxgJ9KH7qw9a171wviOAT CYYCjNhJbHlq9JcyY3/jX59V2roxadn+jYNdeUr1neYsLrztuEf6Lh8l72nU1IkMCYyJ 6HCgwVXXeyVPR2XFtlH8v2BxZDBrhflLQyseKZi3wTmfQFujm4H+vaXkKVYjMtgUolqj tG3lhjhB7fgR59p3N2Lbcsim2Ta7E7AY6+KvClJwE/vq6TS4tkm84YNMJxLvtwAk6zKl DVArHzPcIYzu2BHw0fqJo2w2XxNiWrdiDzTeoema4RRv2rGAqRdMwNFVWkMhxUt/Kk/y NCuQ== X-Gm-Message-State: ALoCoQmcU/BRbGtgUEpEiALcILMDFMd5RqVG6Mkw55zBD15Zzxj2Z1mvmwmqpNrxsWaNAmce5AZH 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140505_022843_309035_46C1DE83 X-CRM114-Status: GOOD ( 10.58 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.50 listed in list.dnswl.org] Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Rob Herring , sachin.kamat@linaro.org, robh+dt@kernel.org, kgene.kim@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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 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") &&