aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index bdb97655ef61..52d482a16dd9 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -909,12 +909,10 @@ typedef struct {
909 write_proc_t *write_proc; 909 write_proc_t *write_proc;
910} ide_proc_entry_t; 910} ide_proc_entry_t;
911 911
912extern struct proc_dir_entry *proc_ide_root;
913
914void proc_ide_create(void); 912void proc_ide_create(void);
915void proc_ide_destroy(void); 913void proc_ide_destroy(void);
916void create_proc_ide_interfaces(void); 914void ide_proc_register_port(ide_hwif_t *);
917void destroy_proc_ide_interface(ide_hwif_t *); 915void ide_proc_unregister_port(ide_hwif_t *);
918void ide_proc_register_driver(ide_drive_t *, ide_driver_t *); 916void ide_proc_register_driver(ide_drive_t *, ide_driver_t *);
919void ide_proc_unregister_driver(ide_drive_t *, ide_driver_t *); 917void ide_proc_unregister_driver(ide_drive_t *, ide_driver_t *);
920 918
@@ -945,8 +943,8 @@ void ide_pci_create_host_proc(const char *, get_info_t *);
945#else 943#else
946static inline void proc_ide_create(void) { ; } 944static inline void proc_ide_create(void) { ; }
947static inline void proc_ide_destroy(void) { ; } 945static inline void proc_ide_destroy(void) { ; }
948static inline void create_proc_ide_interfaces(void) { ; } 946static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; }
949static inline void destroy_proc_ide_interface(ide_hwif_t *hwif) { ; } 947static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; }
950static inline void ide_proc_register_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } 948static inline void ide_proc_register_driver(ide_drive_t *drive, ide_driver_t *driver) { ; }
951static inline void ide_proc_unregister_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } 949static inline void ide_proc_unregister_driver(ide_drive_t *drive, ide_driver_t *driver) { ; }
952static inline void ide_add_generic_settings(ide_drive_t *drive) { ; } 950static inline void ide_add_generic_settings(ide_drive_t *drive) { ; }