Commit c1f0ecff authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Kukjin Kim

ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4

of_machine_is_compatible() seems to be preferred over soc_is_exynos4().
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 6f024978
...@@ -179,7 +179,7 @@ static void __init exynos_init_io(void) ...@@ -179,7 +179,7 @@ static void __init exynos_init_io(void)
*/ */
void exynos_set_delayed_reset_assertion(bool enable) void exynos_set_delayed_reset_assertion(bool enable)
{ {
if (soc_is_exynos4()) { if (of_machine_is_compatible("samsung,exynos4")) {
unsigned int tmp, core_id; unsigned int tmp, core_id;
for (core_id = 0; core_id < num_possible_cpus(); core_id++) { for (core_id = 0; core_id < num_possible_cpus(); core_id++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment