Re: [PATCH] chipidea: ci_hdrc_imx: Fix MODULE_ALIAS()

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

 



On Mon, Aug 19, 2013 at 03:36:33PM -0300, Fabio Estevam wrote:
> The MODULE_ALIAS string should match the '.name' field of the platform driver.
> 
> In this case we have '.name = "imx_usb"', so adapt MODULE_ALIAS() accordingly.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
>  drivers/usb/chipidea/ci_hdrc_imx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
> index 74d998d..2aea048 100644
> --- a/drivers/usb/chipidea/ci_hdrc_imx.c
> +++ b/drivers/usb/chipidea/ci_hdrc_imx.c
> @@ -202,7 +202,7 @@ static struct platform_driver ci_hdrc_imx_driver = {
>  
>  module_platform_driver(ci_hdrc_imx_driver);
>  
> -MODULE_ALIAS("platform:imx-usb");
> +MODULE_ALIAS("platform:imx_usb");
>  MODULE_LICENSE("GPL v2");
>  MODULE_DESCRIPTION("CI HDRC i.MX USB binding");
>  MODULE_AUTHOR("Marek Vasut <marex@xxxxxxx>");
> -- 
> 1.8.1.2
> 

Acked-by: Peter Chen <peter.chen@freescale>

-- 

Best Regards,
Peter Chen

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux