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: 4113241 Return-Path: X-Original-To: patchwork-linux-arm@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 1E8E5BFF02 for ; Mon, 5 May 2014 09:30:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 580682024C for ; Mon, 5 May 2014 09:30:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A0D22022D for ; Mon, 5 May 2014 09:30:47 +0000 (UTC) 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 (/) 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-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 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") &&