aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:05 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:05 -0500
commit151575e4644f917d3a9f83c777ac3543284954f8 (patch)
tree766f73e934b270972b5875cc36cbc98e2e3b7469 /include/linux
parent71518342bfdfbe508ee325ab5e20984ba2da7de2 (diff)
ide: remove ideprobe_init()
* Rename ide_device_add() to ide_device_add_all() and make it accept 'u8 idx[MAX_HWIFS]' instead of 'u8 idx[4]' as an argument. * Add ide_device_add() wrapper for ide_device_add_all(). * Convert ide_generic_init() to use ide_device_add_all(). * Remove no longer needed ideprobe_init(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index dd50a5c5ec10..d7c0f9a8bd9e 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1011,8 +1011,6 @@ extern void do_ide_request(struct request_queue *);
1011 1011
1012void ide_init_disk(struct gendisk *, ide_drive_t *); 1012void ide_init_disk(struct gendisk *, ide_drive_t *);
1013 1013
1014extern int ideprobe_init(void);
1015
1016#ifdef CONFIG_IDEPCI_PCIBUS_ORDER 1014#ifdef CONFIG_IDEPCI_PCIBUS_ORDER
1017extern void ide_scan_pcibus(int scan_direction) __init; 1015extern void ide_scan_pcibus(int scan_direction) __init;
1018extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *owner, const char *mod_name); 1016extern int __ide_pci_register_driver(struct pci_driver *driver, struct module *owner, const char *mod_name);
@@ -1203,6 +1201,7 @@ void ide_unregister_region(struct gendisk *);
1203 1201
1204void ide_undecoded_slave(ide_drive_t *); 1202void ide_undecoded_slave(ide_drive_t *);
1205 1203
1204int ide_device_add_all(u8 idx[MAX_HWIFS]);
1206int ide_device_add(u8 idx[4]); 1205int ide_device_add(u8 idx[4]);
1207 1206
1208static inline void *ide_get_hwifdata (ide_hwif_t * hwif) 1207static inline void *ide_get_hwifdata (ide_hwif_t * hwif)