diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:44 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:44 -0400 |
commit | b9103da463f72d03c513acdb18f1aebd7931ed1e (patch) | |
tree | 8e235cc3094e8acfbb9b3df801c064788c536e18 /drivers/ide/ide-floppy.h | |
parent | 5bb1536a07cca0b66f2bb41dfdf84140939b8f1f (diff) |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/ide-floppy.h b/drivers/ide/ide-floppy.h index 914e4b2f855d..17cf865e583d 100644 --- a/drivers/ide/ide-floppy.h +++ b/drivers/ide/ide-floppy.h | |||
@@ -48,8 +48,15 @@ typedef struct ide_floppy_obj { | |||
48 | /* ide-floppy.c */ | 48 | /* ide-floppy.c */ |
49 | void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8); | 49 | void ide_floppy_create_mode_sense_cmd(struct ide_atapi_pc *, u8); |
50 | void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *); | 50 | void ide_floppy_create_read_capacity_cmd(struct ide_atapi_pc *); |
51 | sector_t ide_floppy_capacity(ide_drive_t *); | ||
51 | 52 | ||
52 | /* ide-floppy_ioctl.c */ | 53 | /* ide-floppy_ioctl.c */ |
53 | int ide_floppy_ioctl(struct inode *, struct file *, unsigned, unsigned long); | 54 | int ide_floppy_ioctl(struct inode *, struct file *, unsigned, unsigned long); |
54 | 55 | ||
56 | #ifdef CONFIG_IDE_PROC_FS | ||
57 | /* ide-floppy_proc.c */ | ||
58 | extern ide_proc_entry_t ide_floppy_proc[]; | ||
59 | extern const struct ide_proc_devset ide_floppy_settings[]; | ||
60 | #endif | ||
61 | |||
55 | #endif /*__IDE_FLOPPY_H */ | 62 | #endif /*__IDE_FLOPPY_H */ |