[PATCH V2 5/8] genpd: imx: scu-pd: Suppress bind attrs
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Jul 20 02:16:58 PDT 2023
From: Peng Fan <peng.fan at nxp.com>
This driver is registered as platform driver, but removing and binding
again would cause system not workable. So suppress bind attrs.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
drivers/genpd/imx/scu-pd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c
index 6770be51d234..9f8dac7950fe 100644
--- a/drivers/genpd/imx/scu-pd.c
+++ b/drivers/genpd/imx/scu-pd.c
@@ -488,6 +488,7 @@ static struct platform_driver imx_sc_pd_driver = {
.driver = {
.name = "imx-scu-pd",
.of_match_table = imx_sc_pd_match,
+ .suppress_bind_attrs = true,
},
.probe = imx_sc_pd_probe,
};
--
2.37.1
More information about the linux-arm-kernel
mailing list