Skip to content

Commit

Permalink
ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4
Browse files Browse the repository at this point in the history
of_machine_is_compatible() seems to be preferred over soc_is_exynos4().

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
  • Loading branch information
krzk authored and Kukjin Kim committed May 14, 2015
1 parent 6f02497 commit c1f0ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit c1f0ecf

Please sign in to comment.