Skip to content

Commit cfd4ea4

Browse files
lsun100storulf
authored andcommitted
mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi
This commit adds the missing MODULE_DEVICE_TABLE for acpi, or else it won't be loaded automatically when compiled as a kernel module. Reviewed-by: David Thompson <[email protected]> Signed-off-by: Liming Sun <[email protected]> Link: https://lore.kernel.org/r/f57ad0f8fdf663465bca74467c344dfa305a3199.1675305696.git.limings@nvidia.com Signed-off-by: Ulf Hansson <[email protected]>
1 parent b75a52b commit cfd4ea4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/sdhci-of-dwcmshc.c

+1
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ static const struct acpi_device_id sdhci_dwcmshc_acpi_ids[] = {
451451
},
452452
{}
453453
};
454+
MODULE_DEVICE_TABLE(acpi, sdhci_dwcmshc_acpi_ids);
454455
#endif
455456

456457
static int dwcmshc_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)