mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
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>
This commit is contained in:
parent
930d50f7fd
commit
bf7241d02e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user