aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:36 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:36 -0500
commit9d501529b688dada3fd90d91b1517e48d5ac3e05 (patch)
tree455d4f52979dd11abc1ef6dbd3c01128e03118d1 /drivers/ide/ide-iops.c
parentfbd130887a45341259cde02e134581fb3dac6e14 (diff)
ide: make probe_hwif() return an error value
Make probe_hwif() return an error value. While at it: * Remove comment about MAX_DRIVES == 2 limitation (it is not special to probe_hwif(), it is a general assumption taken by a lot of IDE code). * Rename probe_hwif() to ide_probe_port(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 495e3878e42e..16b1f6e12781 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -1166,7 +1166,7 @@ EXPORT_SYMBOL(ide_do_reset);
1166 1166
1167/* 1167/*
1168 * ide_wait_not_busy() waits for the currently selected device on the hwif 1168 * ide_wait_not_busy() waits for the currently selected device on the hwif
1169 * to report a non-busy status, see comments in probe_hwif(). 1169 * to report a non-busy status, see comments in ide_probe_port().
1170 */ 1170 */
1171int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) 1171int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout)
1172{ 1172{