|
@@ -1094,13 +1094,6 @@ struct bus_type ide_bus_type = {
|
|
|
|
|
|
EXPORT_SYMBOL_GPL(ide_bus_type);
|
|
EXPORT_SYMBOL_GPL(ide_bus_type);
|
|
|
|
|
|
-static void ide_port_class_release(struct device *portdev)
|
|
|
|
-{
|
|
|
|
- ide_hwif_t *hwif = dev_get_drvdata(portdev);
|
|
|
|
-
|
|
|
|
- put_device(&hwif->gendev);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int ide_vlb_clk;
|
|
int ide_vlb_clk;
|
|
EXPORT_SYMBOL_GPL(ide_vlb_clk);
|
|
EXPORT_SYMBOL_GPL(ide_vlb_clk);
|
|
|
|
|
|
@@ -1305,7 +1298,6 @@ static int __init ide_init(void)
|
|
ret = PTR_ERR(ide_port_class);
|
|
ret = PTR_ERR(ide_port_class);
|
|
goto out_port_class;
|
|
goto out_port_class;
|
|
}
|
|
}
|
|
- ide_port_class->dev_release = ide_port_class_release;
|
|
|
|
|
|
|
|
init_ide_data();
|
|
init_ide_data();
|
|
|
|
|