[PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS

Damien Le Moal damien.lemoal at opensource.wdc.com
Sun Oct 16 20:02:25 PDT 2022


On 10/12/22 22:11, Alexander Stein wrote:
> 'ahci:' is an invalid prefix, preventing the module from autoloading.
> Fix this by using the 'platform:' prefix and DRV_NAME.
> 
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> ---
>  drivers/ata/ahci_imx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c
> index b734e069034d..632caa301458 100644
> --- a/drivers/ata/ahci_imx.c
> +++ b/drivers/ata/ahci_imx.c
> @@ -1235,4 +1235,4 @@ module_platform_driver(imx_ahci_driver);
>  MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver");
>  MODULE_AUTHOR("Richard Zhu <Hong-Xing.Zhu at freescale.com>");
>  MODULE_LICENSE("GPL");
> -MODULE_ALIAS("ahci:imx");
> +MODULE_ALIAS("platform:" DRV_NAME);

Applied to for-6.1-fixes. Thanks !

-- 
Damien Le Moal
Western Digital Research




More information about the linux-arm-kernel mailing list