diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-05-05 05:26:48 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-06-17 11:09:46 -0400 |
commit | 3eb9364656d229532abd3f30ffaf6650abcbfeef (patch) | |
tree | 363be362568708bfc8ed6e6d8261c9cd0b1f211d /arch | |
parent | 1754c42e3db5f45dbd8d509f0366b4ed97687180 (diff) |
ARM: EXYNOS: Fix compilation warning
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 <sachin.kamat@linaro.org>
Reviewed-by: Tushar Behera <tushar.behera@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos/exynos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index fb1eadd9e30c..f38cf7c110cc 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, | |||
220 | int depth, void *data) | 220 | int depth, void *data) |
221 | { | 221 | { |
222 | struct map_desc iodesc; | 222 | struct map_desc iodesc; |
223 | __be32 *reg; | 223 | const __be32 *reg; |
224 | int len; | 224 | int len; |
225 | 225 | ||
226 | if (!of_flat_dt_is_compatible(node, "samsung,exynos4210-chipid") && | 226 | if (!of_flat_dt_is_compatible(node, "samsung,exynos4210-chipid") && |