summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-03-18 11:51:48 +0300
committerJens Axboe <axboe@kernel.dk>2021-03-31 05:21:26 +0300
commitc172b359d71156a41fe036f1aa8f9560938fd9bf (patch)
tree314d08e19d8e89cf920e6ef08f2a449dda165000 /drivers/ata/sata_mv.c
parent1cade50f5092a09001b33209cd81426122f0af19 (diff)
downloadlinux-c172b359d71156a41fe036f1aa8f9560938fd9bf.tar.xz
ata: sata_mv: Fix misnaming of 'mv_bmdma_stop()'
Fixes the following W=1 kernel build warning(s): drivers/ata/sata_mv.c:1929: warning: expecting prototype for mv_bmdma_stop(). Prototype was for mv_bmdma_stop_ap() instead Cc: Jens Axboe <axboe@kernel.dk> Cc: Mark Lord <mlord@pobox.com> Cc: ALWAYS copy <linux-ide@vger.kernel.org> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20210318085150.3131936-14-lee.jones@linaro.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r--drivers/ata/sata_mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index eafca46d8feb..bd23d63435cb 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -1917,7 +1917,7 @@ static void mv_bmdma_start(struct ata_queued_cmd *qc)
}
/**
- * mv_bmdma_stop - Stop BMDMA transfer
+ * mv_bmdma_stop_ap - Stop BMDMA transfer
* @ap: port to stop
*
* Clears the ATA_DMA_START flag in the bmdma control register