]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide: make wait_drive_not_busy() static again
authorAdrian Bunk <bunk@kernel.org>
Fri, 1 Feb 2008 22:09:16 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:16 +0000 (23:09 +0100)
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>
drivers/ide/ide-taskfile.c
include/linux/ide.h

index 5eb6fa15dc4df6d65c5408869b6e22027d049085..d32000109124942201ce6e0b712f0561b256e9e1 100644 (file)
@@ -260,7 +260,7 @@ static ide_startstop_t task_no_data_intr(ide_drive_t *drive)
        return ide_stopped;
 }
 
-u8 wait_drive_not_busy(ide_drive_t *drive)
+static u8 wait_drive_not_busy(ide_drive_t *drive)
 {
        ide_hwif_t *hwif = HWIF(drive);
        int retries;
index c4d58b0e6509c94e7612d7f5007f168e6ff81e93..7072c535f7cf6de2f6b84082c309ae399bfde167 100644 (file)
@@ -986,8 +986,6 @@ ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *);
 
 void task_end_request(ide_drive_t *, struct request *, u8);
 
-u8 wait_drive_not_busy(ide_drive_t *);
-
 int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16);
 int ide_no_data_taskfile(ide_drive_t *, ide_task_t *);