提交 87abf2ba 编写于 作者: S Stephen Boyd 提交者: Bjorn Andersson

firmware: qcom_scm: Suppress sysfs bind attributes

We don't want userspace ejecting this driver at runtime. Various other
drivers call into this code because it provides the mechanism to
communicate with the secure world on qcom SoCs. It should probe once and
be present forever after that.

Cc: Elliot Berman <eberman@codeaurora.org>
Cc: Brian Masney <masneyb@onstation.org>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Jeffrey Hugo <jhugo@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: NStephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210223214539.1336155-5-swboyd@chromium.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
上级 257f2935
...@@ -1301,6 +1301,7 @@ static struct platform_driver qcom_scm_driver = { ...@@ -1301,6 +1301,7 @@ static struct platform_driver qcom_scm_driver = {
.driver = { .driver = {
.name = "qcom_scm", .name = "qcom_scm",
.of_match_table = qcom_scm_dt_match, .of_match_table = qcom_scm_dt_match,
.suppress_bind_attrs = true,
}, },
.probe = qcom_scm_probe, .probe = qcom_scm_probe,
.shutdown = qcom_scm_shutdown, .shutdown = qcom_scm_shutdown,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册