Skip to content

Commit 9f9718c

Browse files
Leo Yu-Chi LiangMina-Chou
authored andcommitted
smu: andes: Expose sbi_system_suspend symbol for platform suspend (torvalds#164)
Andes pm will need sbi_system_suspend function to call SUSP SBI call, so remove the static key word to expose this symbol. Signed-off-by: Leo Yu-Chi Liang <[email protected]>
1 parent 375b674 commit 9f9718c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/riscv/kernel/suspend.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ int cpu_suspend(unsigned long arg,
9494
}
9595

9696
#ifdef CONFIG_RISCV_SBI
97-
static int sbi_system_suspend(unsigned long sleep_type,
98-
unsigned long resume_addr,
99-
unsigned long opaque)
97+
int sbi_system_suspend(unsigned long sleep_type,
98+
unsigned long resume_addr,
99+
unsigned long opaque)
100100
{
101101
struct sbiret ret;
102102

0 commit comments

Comments
 (0)