aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:45 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:45 -0400
commit06b89518fa69fb7243dc98c31f9a9cfa61bfe788 (patch)
treec343692a440f551da2a09d22cf644df9e093b426 /drivers/ide/ide-disk.h
parentf87904898e91923a91b925078ac933f05076c7fd (diff)
ide-disk: move /proc handling to ide-disk_proc.c (take 3)
While at it: - idedisk_capacity() -> ide_disk_capacity() - idedisk_proc[] -> ide_disk_proc[] - idedisk_settings[] -> ide_disk_settings[] v2/3: Build fix for CONFIG_IDE_PROC_FS=n from Elias Oltmanns. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.h')
-rw-r--r--drivers/ide/ide-disk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/ide-disk.h b/drivers/ide/ide-disk.h
index 7f007854adac..a82fa4355665 100644
--- a/drivers/ide/ide-disk.h
+++ b/drivers/ide/ide-disk.h
@@ -13,6 +13,7 @@ struct ide_disk_obj {
13 container_of((disk)->private_data, struct ide_disk_obj, driver) 13 container_of((disk)->private_data, struct ide_disk_obj, driver)
14 14
15/* ide-disk.c */ 15/* ide-disk.c */
16sector_t ide_disk_capacity(ide_drive_t *);
16ide_decl_devset(address); 17ide_decl_devset(address);
17ide_decl_devset(multcount); 18ide_decl_devset(multcount);
18ide_decl_devset(nowerr); 19ide_decl_devset(nowerr);
@@ -22,4 +23,10 @@ ide_decl_devset(acoustic);
22/* ide-disk_ioctl.c */ 23/* ide-disk_ioctl.c */
23int ide_disk_ioctl(struct inode *, struct file *, unsigned int, unsigned long); 24int ide_disk_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
24 25
26#ifdef CONFIG_IDE_PROC_FS
27/* ide-disk_proc.c */
28extern ide_proc_entry_t ide_disk_proc[];
29extern const struct ide_proc_devset ide_disk_settings[];
30#endif
31
25#endif /* __IDE_DISK_H */ 32#endif /* __IDE_DISK_H */