Commit bf7241d0 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Ulf Hansson

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: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 930d50f7
...@@ -1511,6 +1511,7 @@ static const struct of_device_id mmc_spi_of_match_table[] = { ...@@ -1511,6 +1511,7 @@ static const struct of_device_id mmc_spi_of_match_table[] = {
{ .compatible = "mmc-spi-slot", }, { .compatible = "mmc-spi-slot", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, mmc_spi_of_match_table);
static struct spi_driver mmc_spi_driver = { static struct spi_driver mmc_spi_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment