summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/qcom-ipcc.c
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-07-16 09:49:46 +0200
committerJassi Brar <jaswinder.singh@linaro.org>2021-08-30 06:50:15 +0200
commit8d7e5908c0bcf8a0abc437385e58e49abab11a93 (patch)
tree988ebce7e09d7eb8b3536dbf2d543649ff021368 /drivers/mailbox/qcom-ipcc.c
parentmailbox: sti: quieten kernel-doc warnings (diff)
downloadlinux-8d7e5908c0bcf8a0abc437385e58e49abab11a93.tar.xz
linux-8d7e5908c0bcf8a0abc437385e58e49abab11a93.zip
mailbox: qcom-ipcc: Enable loading QCOM_IPCC as a module
This patch enables the qcom_ipcc driver to be loaded as a module. IPCC is fairly core to system, so as such it should never be unloaded. It registers as a mailbox + irq controller and the irq controller drivers in kernel are not supposed to be unloaded as they don't have the visibility over the clients consuming the irqs. Hence adding supress_bind_attrs to disable bind/unbind via sysfs. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/qcom-ipcc.c')
-rw-r--r--drivers/mailbox/qcom-ipcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mailbox/qcom-ipcc.c b/drivers/mailbox/qcom-ipcc.c
index 584700cd1585..f1d4f4679b17 100644
--- a/drivers/mailbox/qcom-ipcc.c
+++ b/drivers/mailbox/qcom-ipcc.c
@@ -277,6 +277,7 @@ static struct platform_driver qcom_ipcc_driver = {
.driver = {
.name = "qcom-ipcc",
.of_match_table = qcom_ipcc_of_match,
+ .suppress_bind_attrs = true,
},
};