Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26d799b7 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide: remove ppc ifdef from init_ide_data()



On PPC32 ide_init_default_irq() is non-zero only for PPLUS and PPC_PREP
(the latter marked as BROKEN currently) so this ifdef can be removed.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 9dfcd15a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -211,10 +211,8 @@ static void __init init_ide_data (void)
		ide_std_init_ports(&hw, io_addr, ctl_addr);
		memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports));
		hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
#if !defined(CONFIG_PPC32) || defined(CONFIG_PPLUS) || !defined(CONFIG_PCI)
		hwif->irq =
			ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]);
#endif
#endif
	}
}