ide-tape: fix build issue
authorBorislav Petkov <petkovbb@gmail.com>
Mon, 15 Jun 2009 05:32:04 +0000 (07:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 15 Jun 2009 16:52:52 +0000 (18:52 +0200)
This fixes

drivers/ide/ide-tape.c: In function `idetape_chrdev_open':
drivers/ide/ide-tape.c:1515: error: implicit declaration of function `idetape_read_position'
make[1]: *** [drivers/ide/ide-tape.o] Error 1

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c

index bb71e1e99dadc78a9ca4cbad535db7837ea24b88..3a3f10f3f8feb90ad49f85b0dad3af23b516d74b 100644 (file)
@@ -1512,7 +1512,7 @@ static int idetape_chrdev_open(struct inode *inode, struct file *filp)
                goto out_put_tape;
        }
 
-       idetape_read_position(drive);
+       ide_tape_read_position(drive);
        if (!test_bit(ilog2(IDE_AFLAG_ADDRESS_VALID), &drive->atapi_flags))
                (void)idetape_rewind_tape(drive);