From 310b112c8b78fab63237e43924e66ddbdf68a906 Mon Sep 17 00:00:00 2001 From: "mason.huo" Date: Thu, 27 Oct 2022 09:18:47 +0800 Subject: [PATCH] cpuidle: riscv-sbi: Correct the compatible string The riscv-sbi driver compatible string should not changed to starfive since it's a common driver for riscv. Signed-off-by: mason.huo --- drivers/cpuidle/cpuidle-riscv-sbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-riscv-sbi.c b/drivers/cpuidle/cpuidle-riscv-sbi.c index 936152b..b459eda 100644 --- 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 }, { }, }; -- 2.7.4