summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 21:39:44 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 21:39:44 +0200
commitb9103da463f72d03c513acdb18f1aebd7931ed1e (patch)
tree8e235cc3094e8acfbb9b3df801c064788c536e18 /drivers/ide/ide-floppy.h
parent5bb1536a07cca0b66f2bb41dfdf84140939b8f1f (diff)
downloadop-kernel-dev-b9103da463f72d03c513acdb18f1aebd7931ed1e.zip
op-kernel-dev-b9103da463f72d03c513acdb18f1aebd7931ed1e.tar.gz
ide-floppy: move /proc handling to ide-floppy_proc.c (take 2)
While at it: - idefloppy_capacity() -> ide_floppy_capacity() - idefloppy_proc[] -> ide_floppy_proc[] - idefloppy_settings[] -> ide_floppy_settings[] v2: Build fix for CONFIG_IDE_PROC_FS=n from Elias Oltmanns. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-floppy.h')
-rw-r--r--drivers/ide/ide-floppy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/ide-floppy.h b/drivers/ide/ide-floppy.h
index 914e4b2..17cf865 100644
--- a/drivers/ide/ide-floppy.h
+++ b/drivers/ide/ide-floppy.h
@@ -48,8 +48,15 @@ typedef struct ide_floppy_obj {
/* ide-floppy.c */
void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8);
void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *);
+sector_t ide_floppy_capacity(ide_drive_t *);
/* ide-floppy_ioctl.c */
int ide_floppy_ioctl(struct inode *, struct file *, unsigned, unsigned long);
+#ifdef CONFIG_IDE_PROC_FS
+/* ide-floppy_proc.c */
+extern ide_proc_entry_t ide_floppy_proc[];
+extern const struct ide_proc_devset ide_floppy_settings[];
+#endif
+
#endif /*__IDE_FLOPPY_H */
OpenPOWER on IntegriCloud