[PATCH 07/21] ide: ide-probe: Fix-up incorrectly documented function probe_for_drive()
From: Lee Jones
Date: Wed Jun 02 2021 - 06:18:12 EST
Fixes the following W=1 kernel build warning(s):
drivers/ide/ide-probe.c:476: warning: expecting prototype for probe_for_drives(). Prototype was for probe_for_drive() instead
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Mark Lord <mlord@xxxxxxxxx>
Cc: Gadi Oxman <gadio@xxxxxxxxxxxxxxxx>
Cc: Andre Hedrick <andre@xxxxxxxxxxxxx>
Cc: support to <linux-ide@xxxxxxxxxxxxxxx>
Cc: linux-ide@xxxxxxxxxxxxxxx
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
drivers/ide/ide-probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index aefd74c0d8628..c1fde697657d7 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -461,7 +461,7 @@ static int do_probe (ide_drive_t *drive, u8 cmd)
}
/**
- * probe_for_drives - upper level drive probe
+ * probe_for_drive - upper level drive probe
* @drive: drive to probe for
*
* probe_for_drive() tests for existence of a given drive using do_probe()
--
2.31.1