aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 7e6418fe3a84..c2fb5c964a51 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -205,10 +205,6 @@ static void __init init_ide_data (void)
205#ifdef CONFIG_IDE_ARCH_OBSOLETE_INIT 205#ifdef CONFIG_IDE_ARCH_OBSOLETE_INIT
206 memset(&hw, 0, sizeof(hw)); 206 memset(&hw, 0, sizeof(hw));
207 ide_std_init_ports(&hw, io_addr, ctl_addr); 207 ide_std_init_ports(&hw, io_addr, ctl_addr);
208# ifdef CONFIG_PPC32
209 if (ppc_ide_md.ide_init_hwif)
210 ppc_ide_md.ide_init_hwif(&hw, io_addr, 0, &hwif->irq);
211# endif
212 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports)); 208 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports));
213#endif 209#endif
214 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; 210 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];