Skip to content

Commit 1ca7fca

Browse files
jhovoldgregkh
authored andcommitted
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: 40ce979 ("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>
1 parent 0c4862b commit 1ca7fca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nvmem/qcom-spmi-sdam.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ static const struct of_device_id sdam_match_table[] = {
166166
{ .compatible = "qcom,spmi-sdam" },
167167
{},
168168
};
169+
MODULE_DEVICE_TABLE(of, sdam_match_table);
169170

170171
static struct platform_driver sdam_driver = {
171172
.driver = {

0 commit comments

Comments
 (0)