summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_mtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ahci_mtk.c')
-rw-r--r--drivers/ata/ahci_mtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_mtk.c b/drivers/ata/ahci_mtk.c
index 0bf83a297091..5083fb6c4927 100644
--- a/drivers/ata/ahci_mtk.c
+++ b/drivers/ata/ahci_mtk.c
@@ -173,7 +173,7 @@ MODULE_DEVICE_TABLE(of, ahci_of_match);
static struct platform_driver mtk_ahci_driver = {
.probe = mtk_ahci_probe,
- .remove = ata_platform_remove_one,
+ .remove_new = ata_platform_remove_one,
.driver = {
.name = DRV_NAME,
.of_match_table = ahci_of_match,