aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-01 17:09:16 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:16 -0500
commitda6f4c7f6fe02f92aff72071ed541f59e5880398 (patch)
tree662bca91fba0afa67ffbbec93363416b7516b182
parent2eae6ebbf99a083687466c010e3129fede9cdb4b (diff)
ide: make wait_drive_not_busy() static again
After commit 7267c3377443322588cddaf457cf106839a60463 wait_drive_not_busy() can become static again. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/ide-taskfile.c2
-rw-r--r--include/linux/ide.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index 5eb6fa15dc4d..d32000109124 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -260,7 +260,7 @@ static ide_startstop_t task_no_data_intr(ide_drive_t *drive)
260 return ide_stopped; 260 return ide_stopped;
261} 261}
262 262
263u8 wait_drive_not_busy(ide_drive_t *drive) 263static u8 wait_drive_not_busy(ide_drive_t *drive)
264{ 264{
265 ide_hwif_t *hwif = HWIF(drive); 265 ide_hwif_t *hwif = HWIF(drive);
266 int retries; 266 int retries;
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c4d58b0e6509..7072c535f7cf 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -986,8 +986,6 @@ ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *);
986 986
987void task_end_request(ide_drive_t *, struct request *, u8); 987void task_end_request(ide_drive_t *, struct request *, u8);
988 988
989u8 wait_drive_not_busy(ide_drive_t *);
990
991int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16); 989int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16);
992int ide_no_data_taskfile(ide_drive_t *, ide_task_t *); 990int ide_no_data_taskfile(ide_drive_t *, ide_task_t *);
993 991