From: Damien Le Moal <damien.lemoal@opensource.wdc.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>,
NXP Linux Team <linux-imx@nxp.com>,
linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS
Date: Mon, 17 Oct 2022 12:02:25 +0900 [thread overview]
Message-ID: <788c5ca3-666e-f7bf-10aa-fea8a8855e55@opensource.wdc.com> (raw)
In-Reply-To: <20221012131105.725258-1-alexander.stein@ew.tq-group.com>
On 10/12/22 22:11, Alexander Stein wrote:
> '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);
Applied to for-6.1-fixes. Thanks !
--
Damien Le Moal
Western Digital Research
prev parent reply other threads:[~2022-10-17 3:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-12 13:11 [PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS Alexander Stein
2022-10-12 13:23 ` Fabio Estevam
2022-10-12 13:30 ` Alexander Stein
2022-10-13 4:20 ` Damien Le Moal
2022-10-13 5:55 ` Alexander Stein
2022-10-13 5:56 ` Damien Le Moal
2022-10-17 3:02 ` Damien Le Moal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=788c5ca3-666e-f7bf-10aa-fea8a8855e55@opensource.wdc.com \
--to=damien.lemoal@opensource.wdc.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox