]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: Fix compilation warning
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 5 May 2014 09:26:48 +0000 (14:56 +0530)
committerArnd Bergmann <arnd@arndb.de>
Tue, 17 Jun 2014 15:09:46 +0000 (17:09 +0200)
commitab45169e674511a7640b5d4b3fc67bee3de57d46
tree363be362568708bfc8ed6e6d8261c9cd0b1f211d
parent3172cc858ab345c84a4893f7b0449262e65ea49b
ARM: EXYNOS: Fix compilation warning

of_get_flat_dt_prop return type is now const.
Fixes the following compilation warning introduced by commit 93b66b338d9a
("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>
arch/arm/mach-exynos/exynos.c