Re: [PATCH] davinci_mmc: set MODULE_ALIAS to allow autoloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jan,

On Thu, Apr 05 2012, Jan Luebbe wrote:
> Davinci MMC platform devices (as in mach-davinci/devices-da8xx.c) use
> "davinci_mmc" as their name. To allow autoloading of the relevant
> driver, the module needs to set the MODULE_ALIAS.
>
> Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx>
> ---
>  drivers/mmc/host/davinci_mmc.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index c1f3673..7cf6c62 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -1533,4 +1533,5 @@ module_exit(davinci_mmcsd_exit);
>  MODULE_AUTHOR("Texas Instruments India");
>  MODULE_LICENSE("GPL");
>  MODULE_DESCRIPTION("MMC/SD driver for Davinci MMC controller");
> +MODULE_ALIAS("platform:davinci_mmc");
>  

Thanks, pushed to mmc-next for 3.5.

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux