summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-03-18 08:51:43 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-30 20:21:25 -0600
commitd29b031d43fbd46ce683572909427f1588f6f2ce (patch)
tree2c3c76225582572eb5defd8c057bf0b12ae88ad5 /drivers/ata
parent05f4226ac537cc5fb43bc6f24c2dca54302300ae (diff)
downloadlinux-d29b031d43fbd46ce683572909427f1588f6f2ce.tar.gz
linux-d29b031d43fbd46ce683572909427f1588f6f2ce.tar.bz2
linux-d29b031d43fbd46ce683572909427f1588f6f2ce.zip
ata: pata_sl82c105: Fix potential doc-rot
Fixes the following W=1 kernel build warning(s): drivers/ata/pata_sl82c105.c:191: warning: expecting prototype for sl82c105_bmdma_end(). Prototype was for sl82c105_bmdma_stop() instead Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20210318085150.3131936-9-lee.jones@linaro.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_sl82c105.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c
index ac7ddd87f188..8487470e2e01 100644
--- a/drivers/ata/pata_sl82c105.c
+++ b/drivers/ata/pata_sl82c105.c
@@ -173,7 +173,7 @@ static void sl82c105_bmdma_start(struct ata_queued_cmd *qc)
}
/**
- * sl82c105_bmdma_end - DMA engine stop
+ * sl82c105_bmdma_stop - DMA engine stop
* @qc: ATA command
*
* Reset the DMA engine each use as recommended by the errata