summaryrefslogtreecommitdiff
path: root/drivers/genpd
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2023-08-14 13:41:24 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-08-17 12:33:54 +0300
commitec8b5619750eaced14bfe38ec53f760d7cead19f (patch)
tree074f0735d55a2f65e6e4f6ad405f5e51c70c683f /drivers/genpd
parent309864dcf92b76fc601a579adf9eb389e4ca4c5c (diff)
downloadlinux-ec8b5619750eaced14bfe38ec53f760d7cead19f.tar.xz
genpd: imx: scu-pd: Suppress bind attrs
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@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/genpd')
-rw-r--r--drivers/genpd/imx/scu-pd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/genpd/imx/scu-pd.c b/drivers/genpd/imx/scu-pd.c
index d69da79d3130..fa840ebe38c5 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,
};