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 <ax...@kernel.dk>
Cc: Mark Lord <ml...@pobox.com>
Cc: ALWAYS copy <linux-...@vger.kernel.org>
Cc: linux-...@vger.kernel.org
Signed-off-by: Lee Jones <lee.jo...@linaro.org>
---
 drivers/ata/sata_mv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index eafca46d8feb4..bd23d63435cb4 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
-- 
2.27.0

Reply via email to