|
@@ -121,7 +121,6 @@ void ide_init_port_data(ide_hwif_t *hwif, unsigned int index)
|
|
|
|
|
|
ide_port_init_devices_data(hwif);
|
|
ide_port_init_devices_data(hwif);
|
|
}
|
|
}
|
|
-EXPORT_SYMBOL_GPL(ide_init_port_data);
|
|
|
|
|
|
|
|
static void ide_port_init_devices_data(ide_hwif_t *hwif)
|
|
static void ide_port_init_devices_data(ide_hwif_t *hwif)
|
|
{
|
|
{
|
|
@@ -150,18 +149,6 @@ static void ide_port_init_devices_data(ide_hwif_t *hwif)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-static void __init init_ide_data (void)
|
|
|
|
-{
|
|
|
|
- unsigned int index;
|
|
|
|
-
|
|
|
|
- /* Initialise all interface structures */
|
|
|
|
- for (index = 0; index < MAX_HWIFS; ++index) {
|
|
|
|
- ide_hwif_t *hwif = &ide_hwifs[index];
|
|
|
|
-
|
|
|
|
- ide_init_port_data(hwif, index);
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void ide_remove_port_from_hwgroup(ide_hwif_t *hwif)
|
|
void ide_remove_port_from_hwgroup(ide_hwif_t *hwif)
|
|
{
|
|
{
|
|
ide_hwgroup_t *hwgroup = hwif->hwgroup;
|
|
ide_hwgroup_t *hwgroup = hwif->hwgroup;
|
|
@@ -1021,8 +1008,6 @@ static int __init ide_init(void)
|
|
goto out_port_class;
|
|
goto out_port_class;
|
|
}
|
|
}
|
|
|
|
|
|
- init_ide_data();
|
|
|
|
-
|
|
|
|
proc_ide_create();
|
|
proc_ide_create();
|
|
|
|
|
|
return 0;
|
|
return 0;
|