diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2020-10-08 12:01:29 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-10-09 08:58:58 +0200 |
commit | 1e23400f1a7342a2805cc647e6314cd12bfb5526 (patch) | |
tree | 1e862c9838c93b21762467489b659069f422f3ad /drivers/mmc | |
parent | Merge branch 'fixes' into next (diff) | |
download | linux-1e23400f1a7342a2805cc647e6314cd12bfb5526.tar.xz linux-1e23400f1a7342a2805cc647e6314cd12bfb5526.zip |
mmc: sdhci_am654: Fix module autoload
Add a MODULE_DEVICE_TABLE() entry so that the driver is autoloaded
when built as a module.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Link: https://lore.kernel.org/r/20201008100129.13917-1-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci_am654.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 2bce962bf7e4..a64ea143d185 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -739,6 +739,7 @@ static const struct of_device_id sdhci_am654_of_match[] = { }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, sdhci_am654_of_match); static int sdhci_am654_probe(struct platform_device *pdev) { |