lkml.org 
[lkml]   [2015]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RESEND PATCH] mmc: mmc_spi: Export OF module alias information
From
On 16 September 2015 at 11:12, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:
> 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>

Thanks, applied for next!

Kind regards
Uffe

>
> ---
>
> 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 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 = {
> --
> 2.4.3
>


\
 
 \ /
  Last update: 2015-09-17 11:01    [W:0.704 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site