The JH7110 reset driver binds to auxiliary devices created by the
StarFive clock driver. As part of moving the reset controller registration
helper into clk-starfive-jh71x0.c so that it can be shared by other
StarFive SoCs, the auxiliary device names are now prefixed with
"clk_starfive_jh71x0" instead of "clk_starfive_jh7110_sys".

Update the auxiliary_device_id table accordingly, otherwise the reset
driver fails to probe.

Signed-off-by: Changhuang Liang <[email protected]>
---
 drivers/reset/starfive/reset-starfive-jh7110.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/reset/starfive/reset-starfive-jh7110.c 
b/drivers/reset/starfive/reset-starfive-jh7110.c
index 29a43f0f2ad6..c936e61156a2 100644
--- a/drivers/reset/starfive/reset-starfive-jh7110.c
+++ b/drivers/reset/starfive/reset-starfive-jh7110.c
@@ -69,23 +69,23 @@ static int jh7110_reset_probe(struct auxiliary_device *adev,
 
 static const struct auxiliary_device_id jh7110_reset_ids[] = {
        {
-               .name = "clk_starfive_jh7110_sys.rst-sys",
+               .name = "clk_starfive_jh71x0.rst-sys",
                .driver_data = (kernel_ulong_t)&jh7110_sys_info,
        },
        {
-               .name = "clk_starfive_jh7110_sys.rst-aon",
+               .name = "clk_starfive_jh71x0.rst-aon",
                .driver_data = (kernel_ulong_t)&jh7110_aon_info,
        },
        {
-               .name = "clk_starfive_jh7110_sys.rst-stg",
+               .name = "clk_starfive_jh71x0.rst-stg",
                .driver_data = (kernel_ulong_t)&jh7110_stg_info,
        },
        {
-               .name = "clk_starfive_jh7110_sys.rst-isp",
+               .name = "clk_starfive_jh71x0.rst-isp",
                .driver_data = (kernel_ulong_t)&jh7110_isp_info,
        },
        {
-               .name = "clk_starfive_jh7110_sys.rst-vo",
+               .name = "clk_starfive_jh71x0.rst-vo",
                .driver_data = (kernel_ulong_t)&jh7110_vout_info,
        },
        { /* sentinel */ }
-- 
2.25.1


Reply via email to