Skip to content

Commit

Permalink
ahci: mtk: Change driver name to ahci-mtk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthias Brugger authored and Tejun Heo committed Dec 4, 2017
1 parent ce179cb commit 2467c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_mtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2467c04

Please sign in to comment.