Kefeng Wang 7d0ce3b2b4 riscv: sbi: Fix undefined reference to sbi_shutdown
There is no shutdown call in SBI v0.2, only set pm_power_off
when RISCV_SBI_V01 enabled to fix following build error,

riscv64-linux-ld: arch/riscv/kernel/sbi.o: in function `sbi_power_off':
sbi.c:(.text+0xe): undefined reference to `sbi_shutdown

Fixes: efca13989250 ("RISC-V: Introduce a new config for SBI v0.1")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-04-21 16:15:09 -07:00
..
2020-04-17 10:35:17 -07:00
2020-04-11 09:46:12 -07:00
2020-04-11 09:46:12 -07:00
2020-04-11 11:38:44 -07:00
2020-04-11 09:46:12 -07:00
2020-04-19 11:58:32 -07:00
2020-04-04 10:12:47 -07:00