ata: ahci-imx: Fix MODULE_ALIAS
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 12 Oct 2022 13:11:05 +0000 (15:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Oct 2022 08:41:15 +0000 (09:41 +0100)
commit6a2aadcb0186c383e9e24450b80269a80ac2bd3f
tree74638fddeca3f12d1d32aaac8459b5a499dab642
parentd9f0159da05df869071164edf0c6d7302efc5eca
ata: ahci-imx: Fix MODULE_ALIAS

commit 979556f1521a835a059de3b117b9c6c6642c7d58 upstream.

'ahci:' is an invalid prefix, preventing the module from autoloading.
Fix this by using the 'platform:' prefix and DRV_NAME.

Fixes: 9e54eae23bc9 ("ahci_imx: add ahci sata support on imx platforms")
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/ahci_imx.c