Commit 82acc694 authored by Wolfram Sang's avatar Wolfram Sang Committed by Simon Horman

ARM: shmobile: r8a7791: only use smp_init when SMP is selected

We use the helper function which populates the smp_init pointer only in
case of SMP.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 27460794
...@@ -29,7 +29,7 @@ static const char *const r8a7791_boards_compat_dt[] __initconst = { ...@@ -29,7 +29,7 @@ static const char *const r8a7791_boards_compat_dt[] __initconst = {
}; };
DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)")
.smp_init = shmobile_smp_init_fallback_ops, .smp_init = smp_init_ops(shmobile_smp_init_fallback_ops),
.smp = smp_ops(r8a7791_smp_ops), .smp = smp_ops(r8a7791_smp_ops),
.init_early = shmobile_init_delay, .init_early = shmobile_init_delay,
.init_time = rcar_gen2_timer_init, .init_time = rcar_gen2_timer_init,
......
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