mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
nvmem: qcom-spmi-sdam: fix module autoloading
commit1ca7fca349
upstream. Add the missing module device table so that the driver can be autoloaded when built as a module. Fixes:40ce979879
("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>
This commit is contained in:
parent
68ce2c8f9d
commit
96d3b44668
@ -166,6 +166,7 @@ static const struct of_device_id sdam_match_table[] = {
|
||||
{ .compatible = "qcom,spmi-sdam" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, sdam_match_table);
|
||||
|
||||
static struct platform_driver sdam_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user