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>
Thu, 3 Nov 2022 14:50:50 +0000 (23:50 +0900)
commit5e7bff83b931661826b74731eefd7d224979ddd5
treec19072aa66ea8bc8f5e35ffc3c6400dab4d06537
parent12a634b60a8cfb4252dab73e45bfe804e7ed3e09
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