soc: qcom: cmd-db: allow loading as a module
authorLina Iyer <ilina@codeaurora.org>
Thu, 1 Oct 2020 15:41:44 +0000 (09:41 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 26 Oct 2020 21:02:29 +0000 (16:02 -0500)
commit778279f4f5e4e89ff31803ba48135256563825c2
tree0ed2532c2fbbe361cb9c93a6d73a09b4a86d8760
parent84314cf7d0aa4f67cc791d8b858333e9b17f5371
soc: qcom: cmd-db: allow loading as a module

This patch enables Command DB driver to be loaded as a module. Command
DB is inherent to RPMH interaction and as such would never be unloaded.
Add supress_bind_attrs to make it a permanently loaded module.

Reviewed-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Link: https://lore.kernel.org/r/20201001154144.5226-1-ilina@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/cmd-db.c