Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_pdc202xx_old: Fix some incorrectly named functions

Fixes the following W=1 kernel build warning(s):

drivers/ata/pata_pdc202xx_old.c:127: warning: expecting prototype for pdc202xx_configure_dmamode(). Prototype was for pdc202xx_set_dmamode() instead
drivers/ata/pata_pdc202xx_old.c:228: warning: expecting prototype for pdc2026x_bmdma_end(). Prototype was for pdc2026x_bmdma_stop() instead

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210318085150.3131936-2-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
ffa137cb e379b40c

+2 -2
+2 -2
drivers/ata/pata_pdc202xx_old.c
··· 115 115 } 116 116 117 117 /** 118 - * pdc202xx_configure_dmamode - set DMA mode in chip 118 + * pdc202xx_set_dmamode - set DMA mode in chip 119 119 * @ap: ATA interface 120 120 * @adev: ATA device 121 121 * ··· 214 214 } 215 215 216 216 /** 217 - * pdc2026x_bmdma_end - DMA engine stop 217 + * pdc2026x_bmdma_stop - DMA engine stop 218 218 * @qc: ATA command 219 219 * 220 220 * After a DMA completes we need to put the clock back to 33MHz for