From: Cristian Marussi Date: Fri, 28 Oct 2022 14:08:27 +0000 (+0100) Subject: firmware: arm_scmi: Suppress the driver's bind attributes X-Git-Tag: v6.1-rc4~19^2~1^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fd96fbc8fad35d6b1872c90df8a2f5d721f14d91;p=users%2Fdwmw2%2Flinux.git 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 Link: https://lore.kernel.org/r/20221028140833.280091-2-cristian.marussi@arm.com Signed-off-by: Sudeep Holla --- diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index 7e19b6055d759..94be633b55a08 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, },