diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:43 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:43 -0500 |
commit | d9270a3f1d5b6f9de58250e8ecdba4c48c54c20b (patch) | |
tree | 777f519f513035c23e36890357e608e0581edcde /include/linux | |
parent | 327617e1da15c3f04bfc50018b0319bd40849022 (diff) |
ide: move create_proc_ide_drives() call to ide_device_add_all()
* Un-static create_proc_ide_drives() and call it from ide_device_add_all().
While at it:
* Rename create_proc_ide_drives() to ide_proc_port_register_devices().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index e33e307d9410..70209148ef59 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -715,6 +715,7 @@ typedef struct { | |||
715 | void proc_ide_create(void); | 715 | void proc_ide_create(void); |
716 | void proc_ide_destroy(void); | 716 | void proc_ide_destroy(void); |
717 | void ide_proc_register_port(ide_hwif_t *); | 717 | void ide_proc_register_port(ide_hwif_t *); |
718 | void ide_proc_port_register_devices(ide_hwif_t *); | ||
718 | void ide_proc_unregister_port(ide_hwif_t *); | 719 | void ide_proc_unregister_port(ide_hwif_t *); |
719 | void ide_proc_register_driver(ide_drive_t *, ide_driver_t *); | 720 | void ide_proc_register_driver(ide_drive_t *, ide_driver_t *); |
720 | void ide_proc_unregister_driver(ide_drive_t *, ide_driver_t *); | 721 | void ide_proc_unregister_driver(ide_drive_t *, ide_driver_t *); |
@@ -747,6 +748,7 @@ void ide_pci_create_host_proc(const char *, get_info_t *); | |||
747 | static inline void proc_ide_create(void) { ; } | 748 | static inline void proc_ide_create(void) { ; } |
748 | static inline void proc_ide_destroy(void) { ; } | 749 | static inline void proc_ide_destroy(void) { ; } |
749 | static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; } | 750 | static inline void ide_proc_register_port(ide_hwif_t *hwif) { ; } |
751 | static inline void ide_proc_port_register_devices(ide_hwif_t *hwif) { ; } | ||
750 | static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; } | 752 | static inline void ide_proc_unregister_port(ide_hwif_t *hwif) { ; } |
751 | static inline void ide_proc_register_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } | 753 | static inline void ide_proc_register_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } |
752 | static inline void ide_proc_unregister_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } | 754 | static inline void ide_proc_unregister_driver(ide_drive_t *drive, ide_driver_t *driver) { ; } |