ata: pata_hpt3x2n: Fix possible doc-rotted function name
authorLee Jones <lee.jones@linaro.org>
Mon, 1 Feb 2021 14:39:36 +0000 (14:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:28:31 +0000 (07:28 -0700)
Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_hpt3x2n.c:247: warning: expecting prototype for hpt3x2n_bmdma_end(). Prototype was for hpt3x2n_bmdma_stop() instead

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_hpt3x2n.c

index 9cb2d50db87680fbe37ba98f33698e2dc3d5366d..48eef338e0507b591bdbeacd94d9c471fe7083c3 100644 (file)
@@ -237,7 +237,7 @@ static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev)
 }
 
 /**
- *     hpt3x2n_bmdma_end               -       DMA engine stop
+ *     hpt3x2n_bmdma_stop              -       DMA engine stop
  *     @qc: ATA command
  *
  *     Clean up after the HPT3x2n and later DMA engine