From patchwork Wed Oct 12 13:11:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13005061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47B00C433FE for ; Wed, 12 Oct 2022 13:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UtiuXZx1T6xfl8olweqDIGSDNkVxtzn355x5h5ZV10g=; b=b80bIxK0l/Gk0I gK3QJQGsmZAtEPoPXfiE5GSUWeXdAEx3M3lDedF2UorR9CEp76O3biF5oMh86JgkB3DBryYejEyF7 xR4vehk64ZNUsJNuSBNiivRE+lRK3mWVzipcHiBFlbCZkpxolw/HkLkM+tap720s3g6oXRHi9pwEC /5icKg5whFavZ3zixc0xMQ8JmxiGz2ni+XKoC79YgUID01s5tKadQmuEkny10l+CuXnud+R9FZsw/ 5THun48cTyecfu1qhdXITUhhNZITNy6Q/cdRX4mpZAINLwYcHYIV+Lp579Vq7vedQ7Ynwb6XGhyXP sDAdiPQqtFjftz9cJADQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oibWR-0085rP-8O; Wed, 12 Oct 2022 13:11:43 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oibVy-0085ip-R9 for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2022 13:11:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1665580274; x=1697116274; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sqxBUnvzDNUFqNGYaIQPjO4k3Z2Z8faQlIic70/PaPA=; b=ILN9cUA3pJohLCQRQqDi+7i/Ob2H5yGSEvEPWfQCrxgfeRSFP9Scd7C3 U0xmLdtdHuL9iYExsvGdozc7j67TN2lARCB1K7kwUNZDQWgpt/vkfDioY h1I1hTYG0cDMUnGuSNv8fwz6KWXuloUVprZtb8q+jfgT+YgDobiFMDcsg Mwe6Eh85zDHXCFcFIvaeOkJOAb3v9o8UXhakKvep/qKHDjos92L96x8Z8 80wdcqU28lOXj0gqjgzXxLrmfKhtsi+ABhvfMQ1kcE+pW/uzBh210K9/N WvlqQo9GpsgJ81OmpLaPOqxRbDYq0WeioP948cLCjFk8cTCc5GDTPgPiY Q==; X-IronPort-AV: E=Sophos;i="5.95,179,1661810400"; d="scan'208";a="26709681" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 12 Oct 2022 15:11:09 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 12 Oct 2022 15:11:09 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 12 Oct 2022 15:11:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1665580269; x=1697116269; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sqxBUnvzDNUFqNGYaIQPjO4k3Z2Z8faQlIic70/PaPA=; b=T09tdufLaONRHpNrjkVv0x7t1fVbFjpKuJttx2Bu9NZ7/170qkeQlmmd oVb3mIdXdx8huc2r3RAl+7jDKOnw6lJ/0I1SVTlNHWJn1X94y6/+digSo RTmEMS+Hr1z792UQ+socb+5vzeNnbU4tyFaq+EvAV8pTl6+/ALeq2rr6A q/utwptEn+pWfXWe2dLkzN5rOPtLRlJESkLziuGUXHJz8Lwo/maphmc0v crIZMZE1ixtZT5XhC5+iHN/Jms3fiH0no6VtxSRQeLFpYiB+3RoXAxwyi SmbWmIeQFWY66td4FpMHlIOmAc+PLtMD9aNobbWwHERLbNoj7GU6gcscu A==; X-IronPort-AV: E=Sophos;i="5.95,179,1661810400"; d="scan'208";a="26709680" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 Oct 2022 15:11:08 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B0648280056; Wed, 12 Oct 2022 15:11:08 +0200 (CEST) From: Alexander Stein To: Damien Le Moal , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] ata: ahci-imx: Fix MODULE_ALIAS Date: Wed, 12 Oct 2022 15:11:05 +0200 Message-Id: <20221012131105.725258-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221012_061122_355528_58E43C04 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org '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 Reviewed-by: Fabio Estevam --- 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 "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("ahci:imx"); +MODULE_ALIAS("platform:" DRV_NAME);