Skip to content

Commit da97931

Browse files
tq-steinagregkh
authored andcommitted
ata: ahci-imx: Fix MODULE_ALIAS
commit 979556f upstream. 'ahci:' is an invalid prefix, preventing the module from autoloading. Fix this by using the 'platform:' prefix and DRV_NAME. Fixes: 9e54eae ("ahci_imx: add ahci sata support on imx platforms") Cc: [email protected] Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c00cdfc commit da97931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/ahci_imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,4 +1239,4 @@ module_platform_driver(imx_ahci_driver);
12391239
MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver");
12401240
MODULE_AUTHOR("Richard Zhu <[email protected]>");
12411241
MODULE_LICENSE("GPL");
1242-
MODULE_ALIAS("ahci:imx");
1242+
MODULE_ALIAS("platform:" DRV_NAME);

0 commit comments

Comments
 (0)