From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEE35AD23 for ; Thu, 27 Oct 2022 17:05:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F46BC433C1; Thu, 27 Oct 2022 17:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666890327; bh=auDV5quGmlCB5NPtSqIbcR7zagW5xynXmehfOY2SGUg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iTFpHvLCEpANu+1WMWxZv/Mi2Ivtk5Dx/I0G/RF0Tsj4s9iI2Uj49VJo6KQpxPRRQ rieQMMVABDOhXMTMQGqWox+d/FT5K6jvKiJVSpNT6b9oN7A0Y1k1CIQ7gVceoIkUC3 kmIUSmCrNOlaRSjDM2R4cVVQ48/a2fNIAxoQiTL4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alexander Stein , Fabio Estevam , Damien Le Moal Subject: [PATCH 5.10 09/79] ata: ahci-imx: Fix MODULE_ALIAS Date: Thu, 27 Oct 2022 18:55:19 +0200 Message-Id: <20221027165054.633086482@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221027165054.270676357@linuxfoundation.org> References: <20221027165054.270676357@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Alexander Stein 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 Reviewed-by: Fabio Estevam Signed-off-by: Damien Le Moal Signed-off-by: Greg Kroah-Hartman --- drivers/ata/ahci_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ata/ahci_imx.c +++ b/drivers/ata/ahci_imx.c @@ -1230,4 +1230,4 @@ module_platform_driver(imx_ahci_driver); MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver"); MODULE_AUTHOR("Richard Zhu "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("ahci:imx"); +MODULE_ALIAS("platform:" DRV_NAME);