mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ppc/pplus: remove ppc_ide_md.ide_init_hwif hook
* Call ide_init_default_irq() for pplus in init_ide_data(). * Remove no longer needed pplus_ide_init_hwif_ports(). There should be no functional changes caused by this patch. Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
7ef8df81de
commit
5d682e4407
2 changed files with 1 additions and 24 deletions
|
|
@ -212,7 +212,7 @@ static void __init init_ide_data (void)
|
|||
memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports));
|
||||
#endif
|
||||
hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
|
||||
#if !defined(CONFIG_PPC32) || !defined(CONFIG_PCI)
|
||||
#if !defined(CONFIG_PPC32) || defined(CONFIG_PPLUS) || !defined(CONFIG_PCI)
|
||||
hwif->irq =
|
||||
ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue