diff options
author | Johan Hovold <[email protected]> | 2023-01-27 10:40:15 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-01-28 14:39:31 +0100 |
commit | 1ca7fca349316231bbaa68d16f819a08d683c5a7 (patch) | |
tree | ad320784c57d193d23988f92117ca3395bef9738 | |
parent | 0c4862b1c1465e473bc961a02765490578bf5c20 (diff) |
nvmem: qcom-spmi-sdam: fix module autoloading
Add the missing module device table so that the driver can be autoloaded
when built as a module.
Fixes: 40ce9798794f ("nvmem: add QTI SDAM driver")
Cc: [email protected] # 5.6
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/nvmem/qcom-spmi-sdam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvmem/qcom-spmi-sdam.c b/drivers/nvmem/qcom-spmi-sdam.c index 4fcb63507ecd..8499892044b7 100644 --- a/drivers/nvmem/qcom-spmi-sdam.c +++ b/drivers/nvmem/qcom-spmi-sdam.c @@ -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 = { |