All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS
@ 2022-10-12 13:11 ` Alexander Stein
  0 siblings, 0 replies; 14+ messages in thread
From: Alexander Stein @ 2022-10-12 13:11 UTC (permalink / raw)
  To: Damien Le Moal, Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: Alexander Stein, Pengutronix Kernel Team, NXP Linux Team,
	linux-ide, linux-arm-kernel

'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@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@freescale.com>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("ahci:imx");
+MODULE_ALIAS("platform:" DRV_NAME);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-17  3:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-12 13:11 [PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS Alexander Stein
2022-10-12 13:11 ` Alexander Stein
2022-10-12 13:23 ` Fabio Estevam
2022-10-12 13:23   ` Fabio Estevam
2022-10-12 13:30   ` Alexander Stein
2022-10-12 13:30     ` Alexander Stein
2022-10-13  4:20     ` Damien Le Moal
2022-10-13  4:20       ` Damien Le Moal
2022-10-13  5:55       ` Alexander Stein
2022-10-13  5:55         ` Alexander Stein
2022-10-13  5:56         ` Damien Le Moal
2022-10-13  5:56           ` Damien Le Moal
2022-10-17  3:02 ` Damien Le Moal
2022-10-17  3:02   ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.