linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk
@ 2017-12-01 10:47 Matthias Brugger
  2017-12-04 20:35 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Brugger @ 2017-12-01 10:47 UTC (permalink / raw)
  To: tj
  Cc: matthias.bgg, linux-ide, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger

The driver name "ahci" is already used by the ahci platform driver.
This leads to the following error:
Error: Driver 'ahci' is already registered, aborting...

Change the name to ahci-mtk to fix this.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---
 drivers/ata/ahci_mtk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/ahci_mtk.c b/drivers/ata/ahci_mtk.c
index 80854f71559a..22efb9370d1d 100644
--- a/drivers/ata/ahci_mtk.c
+++ b/drivers/ata/ahci_mtk.c
@@ -25,7 +25,7 @@
 #include <linux/reset.h>
 #include "ahci.h"
 
-#define DRV_NAME		"ahci"
+#define DRV_NAME		"ahci-mtk"
 
 #define SYS_CFG			0x14
 #define SYS_CFG_SATA_MSK	GENMASK(31, 30)
-- 
2.12.3

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

* Re: [PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk
  2017-12-01 10:47 [PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk Matthias Brugger
@ 2017-12-04 20:35 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2017-12-04 20:35 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: linux-ide, linux-arm-kernel, linux-mediatek, linux-kernel,
	Matthias Brugger

On Fri, Dec 01, 2017 at 11:47:22AM +0100, Matthias Brugger wrote:
> The driver name "ahci" is already used by the ahci platform driver.
> This leads to the following error:
> Error: Driver 'ahci' is already registered, aborting...
> 
> Change the name to ahci-mtk to fix this.
> 
> Signed-off-by: Matthias Brugger <mbrugger@suse.com>

Applied to libata/for-4.15-fixes.

Thanks.

-- 
tejun

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

end of thread, other threads:[~2017-12-04 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 10:47 [PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk Matthias Brugger
2017-12-04 20:35 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).