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: 29634 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2D2ED2055D for ; Mon, 5 May 2014 09:28:29 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id i17sf15875901qcy.2 for ; Mon, 05 May 2014 02:28:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=gz2IvFfmccw7N86b/LFfjEGZQZ8noUhQIrxgqVGlnEU=; b=UCS6W2HHt2L3xk4t37YrKDPLqmXeVp4MGqapGy9slxRg0jF/phyzIuI3XqObpYQCoy sn845ijJSn0OYS0vvjQ6aPru1qMtnKD4kh9oV46MsrVaBmsoWPLL0Le2dS8c1kRzzsJ+ 4qtEJWrR/E595qPSrwjJRIeMJAVMY1Bx2TQn1UXjYeEDhimqxApgpgLCRUaQX5Qbok53 TaBH7zzErYFKGBGB6hCK9mx3VqJHjpiMPTbM7vwhOpCvLWKDP2UzA7g+y53J0rUSxkyl CdrPLiYGucJ/oBW7Y0CF5haFwijN0x8KHjuJ5u+cGGKupV0uqaUTAVEOJAjaBlB9506I /zbw== X-Gm-Message-State: ALoCoQlExl0WZ4i+4rFRWI/K5g5HrpuT3wLhOYvU5O77OgPZNkGHNc8/z4ic1asCfXcsFrOLxLBw X-Received: by 10.236.36.33 with SMTP id v21mr13425946yha.53.1399282108982; Mon, 05 May 2014 02:28:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.54 with SMTP id 51ls1964756qgi.63.gmail; Mon, 05 May 2014 02:28:28 -0700 (PDT) X-Received: by 10.58.65.10 with SMTP id t10mr118884ves.34.1399282108858; Mon, 05 May 2014 02:28:28 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id pu9si1431678vec.47.2014.05.05.02.28.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:28:28 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so2135056veb.13 for ; Mon, 05 May 2014 02:28:28 -0700 (PDT) X-Received: by 10.58.186.71 with SMTP id fi7mr385787vec.32.1399282108787; Mon, 05 May 2014 02:28:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp125569vcb; Mon, 5 May 2014 02:28:28 -0700 (PDT) X-Received: by 10.66.119.136 with SMTP id ku8mr70375382pab.121.1399282108013; Mon, 05 May 2014 02:28:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pc9si7857520pac.353.2014.05.05.02.28.27; Mon, 05 May 2014 02:28:27 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756039AbaEEJ2Z (ORCPT + 9 others); 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-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: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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") &&