aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:31 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:31 -0400
commit5d682e4407d8364c286650baafcccae54d4b7c89 (patch)
tree9aacb4fbecb21c7c2adbe99f431a684a0bd7977b /drivers
parent7ef8df81def587ddb610b1c6f4572178ce0a97a6 (diff)
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 <benh@kernel.crashing.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 9e4d503bc716..7e6418fe3a84 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -212,7 +212,7 @@ static void __init init_ide_data (void)
212 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports)); 212 memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports));
213#endif 213#endif
214 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; 214 hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
215#if !defined(CONFIG_PPC32) || !defined(CONFIG_PCI) 215#if !defined(CONFIG_PPC32) || defined(CONFIG_PPLUS) || !defined(CONFIG_PCI)
216 hwif->irq = 216 hwif->irq =
217 ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]); 217 ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]);
218#endif 218#endif