projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75a52b
)
mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi
author
Liming Sun
<limings@nvidia.com>
Thu, 2 Feb 2023 15:29:15 +0000
(10:29 -0500)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 14 Feb 2023 11:33:22 +0000
(12:33 +0100)
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>
drivers/mmc/host/sdhci-of-dwcmshc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-dwcmshc.c
b/drivers/mmc/host/sdhci-of-dwcmshc.c
index 46b1ce7fabdc52d2e431206cc96adf4f8f9c61c8..d1490469184be03c03ffa2c6684d7e1d0c1f635d 100644
(file)
--- 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)