repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git]
/
arch
/
riscv
/
kernel
/
sbi.c
blob
f6c7c3e82d2880080c03cb7e250df8c19b5e5c83
1
// SPDX-License-Identifier: GPL-2.0-only
2
3
#include <linux/init.h>
4
#include <linux/pm.h>
5
#include <asm/sbi.h>
6
7
static void
sbi_power_off
(
void
)
8
{
9
sbi_shutdown
();
10
}
11
12
static int
__init
sbi_init
(
void
)
13
{
14
pm_power_off
=
sbi_power_off
;
15
return
0
;
16
}
17
early_initcall
(
sbi_init
);