summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLiming Sun <limings@nvidia.com>2023-02-02 10:29:15 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2023-02-14 12:33:22 +0100
commitcfd4ea4815d16f7426723a5cb80ee5db811ea1f2 (patch)
tree254db2221f05a55b6ee293cf8353e5b82f64ce62 /drivers/mmc
parentb75a52b0dda353aeefb4830a320589a363f49579 (diff)
downloadlinux-cfd4ea4815d16f7426723a5cb80ee5db811ea1f2.tar.gz
linux-cfd4ea4815d16f7426723a5cb80ee5db811ea1f2.tar.bz2
linux-cfd4ea4815d16f7426723a5cb80ee5db811ea1f2.zip
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 <davthompson@nvidia.com> Signed-off-by: Liming Sun <limings@nvidia.com> Link: https://lore.kernel.org/r/f57ad0f8fdf663465bca74467c344dfa305a3199.1675305696.git.limings@nvidia.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-of-dwcmshc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
index 46b1ce7fabdc..d1490469184b 100644
--- a/drivers/mmc/host/sdhci-of-dwcmshc.c
+++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
@@ -451,6 +451,7 @@ static const struct acpi_device_id sdhci_dwcmshc_acpi_ids[] = {
},
{}
};
+MODULE_DEVICE_TABLE(acpi, sdhci_dwcmshc_acpi_ids);
#endif
static int dwcmshc_probe(struct platform_device *pdev)