diff mbox series

[13/15] ata: sata_mv: Fix misnaming of 'mv_bmdma_stop()'

Message ID 20210318085150.3131936-14-lee.jones@linaro.org
State New
Headers show
Series Rid W=1 warnings from ATA | expand

Commit Message

Lee Jones March 18, 2021, 8:51 a.m. UTC
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>
---
 drivers/ata/sata_mv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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