ahci: mtk: Change driver name to ahci-mtk
authorMatthias Brugger <matthias.bgg@gmail.com>
Fri, 1 Dec 2017 10:47:22 +0000 (11:47 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 4 Dec 2017 20:35:29 +0000 (12:35 -0800)
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>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_mtk.c

index 489452a..0ae6971 100644 (file)
@@ -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)