]> git.baikalelectronics.ru Git - kernel.git/commit
nvmem: qcom-spmi-sdam: fix module autoloading
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 27 Jan 2023 10:40:15 +0000 (10:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:19 +0000 (11:28 +0100)
commit3bb5b88eca299cf607db7d89093eb92a646bede5
tree931daff5770f9f0045ca60181735ffbe57513d08
parentffaf5b92491d47bcecc22df9ba37d31dd2b357bc
nvmem: qcom-spmi-sdam: fix module autoloading

commit 1ca7fca349316231bbaa68d16f819a08d683c5a7 upstream.

Add the missing module device table so that the driver can be autoloaded
when built as a module.

Fixes: 8aca7a927310 ("nvmem: add QTI SDAM driver")
Cc: stable@vger.kernel.org # 5.6
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230127104015.23839-11-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/qcom-spmi-sdam.c