projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff5623
)
cpuidle: riscv-sbi: Correct the compatible string
author
mason.huo
<mason.huo@starfivetech.com>
Thu, 27 Oct 2022 01:18:47 +0000
(09:18 +0800)
committer
mason.huo
<mason.huo@starfivetech.com>
Thu, 27 Oct 2022 01:22:39 +0000
(09:22 +0800)
The riscv-sbi driver compatible string should not
changed to starfive since it's a common driver
for riscv.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
drivers/cpuidle/cpuidle-riscv-sbi.c
patch
|
blob
|
history
diff --git
a/drivers/cpuidle/cpuidle-riscv-sbi.c
b/drivers/cpuidle/cpuidle-riscv-sbi.c
index
936152b
..
b459eda
100644
(file)
--- a/
drivers/cpuidle/cpuidle-riscv-sbi.c
+++ b/
drivers/cpuidle/cpuidle-riscv-sbi.c
@@
-195,7
+195,7
@@
static void sbi_idle_init_cpuhp(void)
}
static const struct of_device_id sbi_cpuidle_state_match[] = {
- { .compatible = "
starfive,jh7110-
idle-state",
+ { .compatible = "
riscv,
idle-state",
.data = sbi_cpuidle_enter_state },
{ },
};