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-21 15:22:45 -07:00
2020-03-31 11:28:30 -07:00
2020-03-31 11:28:30 -07:00
2020-03-26 09:24:55 -07:00
2020-04-03 10:46:43 -07:00
2020-04-03 10:46:43 -07:00
2020-01-22 13:09:58 -08:00
2020-03-31 11:28:30 -07:00
2019-11-17 15:17:39 -08:00
2020-04-03 10:46:43 -07:00
2019-10-28 00:46:01 -07:00
2019-10-28 00:46:01 -07:00