mmc: mmc_spi: Fix module autoload for OF platform driver
Subsystems (2)
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 <[email protected]>
--- drivers/mmc/host/mmc_spi.c | 1 + 1 file changed, 1 insertion(+)
drivers/mmc/host/mmc_spi.c +1 -0
@@ -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 = {
Signature · 1 line
2.4.6