]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 14 May 2015 02:43:59 +0000 (11:43 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 14 May 2015 02:43:59 +0000 (11:43 +0900)
of_machine_is_compatible() seems to be preferred over soc_is_exynos4().

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/exynos.c

index c3bfbba3006d8fbd51c328b8c964434bf6fa1ea3..5917a30eee33f286c80708dfb84cdd610bd2dd9d 100644 (file)
@@ -179,7 +179,7 @@ static void __init exynos_init_io(void)
  */
 void exynos_set_delayed_reset_assertion(bool enable)
 {
-       if (soc_is_exynos4()) {
+       if (of_machine_is_compatible("samsung,exynos4")) {
                unsigned int tmp, core_id;
 
                for (core_id = 0; core_id < num_possible_cpus(); core_id++) {