]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-floppy_proc.c
ide: prepare for merging ide-gd-floppy.c with ide-gd.c
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-floppy_proc.c
index 76f0c6c4eca3c4652e69dde32c77059220663294..3ec762cb60abfcceae5e0f5ede250adbc2ec2f7c 100644 (file)
@@ -9,7 +9,7 @@ static int proc_idefloppy_read_capacity(char *page, char **start, off_t off,
        ide_drive_t*drive = (ide_drive_t *)data;
        int len;
 
-       len = sprintf(page, "%llu\n", (long long)ide_floppy_capacity(drive));
+       len = sprintf(page, "%llu\n", (long long)ide_gd_capacity(drive));
        PROC_IDE_READ_RETURN(page, start, off, count, eof, len);
 }