[PATCH 12/21] ide: it821x: Fix a couple of incorrectly documented functions
From: Lee Jones <hidden>
Date: 2021-06-02 10:18:41
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Lee Jones <hidden>
Date: 2021-06-02 10:18:41
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
Fixes the following W=1 kernel build warning(s): drivers/ide/it821x.c:362: warning: expecting prototype for it821x_dma_read(). Prototype was for it821x_dma_start() instead drivers/ide/it821x.c:384: warning: expecting prototype for it821x_dma_write(). Prototype was for it821x_dma_end() instead Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <redacted> --- drivers/ide/it821x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ide/it821x.c b/drivers/ide/it821x.c
index aad746007330c..e7c965c3703e5 100644
--- a/drivers/ide/it821x.c
+++ b/drivers/ide/it821x.c@@ -346,7 +346,7 @@ static void it821x_tune_udma(ide_drive_t *drive, u8 mode_wanted) } /** - * it821x_dma_read - DMA hook + * it821x_dma_start - DMA hook * @drive: drive for DMA * * The IT821x has a single timing register for MWDMA and for PIO
@@ -372,7 +372,7 @@ static void it821x_dma_start(ide_drive_t *drive) } /** - * it821x_dma_write - DMA hook + * it821x_dma_end - DMA hook * @drive: drive for DMA stop * * The IT821x has a single timing register for MWDMA and for PIO
--
2.31.1