diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-10-28 17:08:27 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-11-01 14:32:49 +0300 |
commit | fd96fbc8fad35d6b1872c90df8a2f5d721f14d91 (patch) | |
tree | 4f5252bcc91d549ffc6a3f15fe4cc486bad50ff7 /drivers | |
parent | 3f4071cbd2063b917486d1047a4da47718215fee (diff) | |
download | linux-fd96fbc8fad35d6b1872c90df8a2f5d721f14d91.tar.xz |
firmware: arm_scmi: Suppress the driver's bind attributes
Suppress the capability to unbind the core SCMI driver since all the
SCMI stack protocol drivers depend on it.
Fixes: aa4f886f3893 ("firmware: arm_scmi: add basic driver infrastructure for SCMI")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20221028140833.280091-2-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firmware/arm_scmi/driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index 7e19b6055d75..94be633b55a0 100644 --- a/drivers/firmware/arm_scmi/driver.c +++ b/drivers/firmware/arm_scmi/driver.c @@ -2578,6 +2578,7 @@ MODULE_DEVICE_TABLE(of, scmi_of_match); static struct platform_driver scmi_driver = { .driver = { .name = "arm-scmi", + .suppress_bind_attrs = true, .of_match_table = scmi_of_match, .dev_groups = versions_groups, }, |