Messages in this thread Patch in this message | | | From | Luis de Bethencourt <> | Date | Thu, 17 Sep 2015 23:49:28 +0200 | Subject | [PATCH 1/3] mmc: mmc_spi: Fix module autoload for OF platform driver |
| |
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> --- drivers/mmc/host/mmc_spi.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c index ae19d83..8ee11f4 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 = { -- 2.4.6
| |