summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-09-16 12:12:07 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-10-26 17:59:56 +0300
commitbf7241d02eb4704beeaa055cb027ba7b28344a0e (patch)
treeffa50610a9f5e16f24b7478ebae40b462b56e3ab /drivers/mmc
parent930d50f7fd49fe485d9126ffd26dcc0428d7920a (diff)
downloadlinux-bf7241d02eb4704beeaa055cb027ba7b28344a0e.tar.xz
mmc: mmc_spi: Export OF module alias information
Drivers needs to export the OF id table and this be built into the module or udev won't have the necessary information to autoload the driver module when the device is registered via OF. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mmc_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index ae19d83bb9de..8ee11f4120fc 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1511,6 +1511,7 @@ static const struct of_device_id mmc_spi_of_match_table[] = {
{ .compatible = "mmc-spi-slot", },
{},
};
+MODULE_DEVICE_TABLE(of, mmc_spi_of_match_table);
static struct spi_driver mmc_spi_driver = {
.driver = {