Skip to content

Commit 979556f

Browse files
tq-steinaDamien Le Moal
authored and
Damien Le Moal
committed
ata: ahci-imx: Fix MODULE_ALIAS
'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]>
1 parent 9abf231 commit 979556f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/ahci_imx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1235,4 +1235,4 @@ module_platform_driver(imx_ahci_driver);
12351235
MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver");
12361236
MODULE_AUTHOR("Richard Zhu <[email protected]>");
12371237
MODULE_LICENSE("GPL");
1238-
MODULE_ALIAS("ahci:imx");
1238+
MODULE_ALIAS("platform:" DRV_NAME);

0 commit comments

Comments
 (0)