Skip to contentSkip to conversation

ahci: mtk: Change driver name to ahci-mtk

PATCH Applied Matthias Brugger 2 participants 2 messages Dec 1, 2017 – Dec 4, 2017

Subsystems (2)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

PATCH 2/2 ahci: mtk: Change driver name to ahci-mtk

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.

---
 drivers/ata/ahci_mtk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ahci_mtk.c +1 -1
index 80854f71559a..22efb9370d1d 100644
@@ -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)
Signature · 1 line
2.12.3
Applied
#1 lore raw
Quoted 7 lines · 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.

Applied to libata/for-4.15-fixes.

Thanks.

Signature · 1 line
tejun