[PATCH 19/21] ide: piix: Fix incorrectly documented param 'hwif'
From: Lee Jones
Date: Wed Jun 02 2021 - 06:19:32 EST
Fixes the following W=1 kernel build warning(s):
drivers/ide/piix.c:69: warning: Function parameter or member 'hwif' not described in 'piix_set_pio_mode'
drivers/ide/piix.c:69: warning: Excess function parameter 'port' description in 'piix_set_pio_mode'
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Andre Hedrick <andre@xxxxxxxxxxxxx>
Cc: "Software, Inc" <source@xxxxxxxxxx>
Cc: linux-ide@xxxxxxxxxxxxxxx
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
drivers/ide/piix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ide/piix.c b/drivers/ide/piix.c
index ede42d2a5b0b1..6a22c281ea90a 100644
--- a/drivers/ide/piix.c
+++ b/drivers/ide/piix.c
@@ -59,7 +59,7 @@ static int no_piix_dma;
/**
* piix_set_pio_mode - set host controller for PIO mode
- * @port: port
+ * @hwif: IDE interface
* @drive: drive
*
* Set the interface PIO mode based upon the settings done by AMI BIOS.
--
2.31.1