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

ata: pata_it821x: Fix possible doc-rotted function names

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

drivers/ata/pata_it821x.c:346: warning: expecting prototype for it821x_passthru_dma_start(). Prototype was for it821x_passthru_bmdma_start() instead
drivers/ata/pata_it821x.c:369: warning: expecting prototype for it821x_passthru_dma_stop(). Prototype was for it821x_passthru_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-6-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
39ac4018 2ee628f3

+2 -2
+2 -2
drivers/ata/pata_it821x.c
··· 334 334 } 335 335 336 336 /** 337 - * it821x_passthru_dma_start - DMA start callback 337 + * it821x_passthru_bmdma_start - DMA start callback 338 338 * @qc: Command in progress 339 339 * 340 340 * Usually drivers set the DMA timing at the point the set_dmamode call ··· 357 357 } 358 358 359 359 /** 360 - * it821x_passthru_dma_stop - DMA stop callback 360 + * it821x_passthru_bmdma_stop - DMA stop callback 361 361 * @qc: ATA command 362 362 * 363 363 * We loaded new timings in dma_start, as a result we need to restore