[POWERPC] Make iSeries build without CONFIG_PCI
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 4 Mar 2007 06:03:48 +0000 (17:03 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Mar 2007 04:03:25 +0000 (15:03 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/irq.c

index 5225abfafd9b8f44b1ec7e7aeac3cfe800e233a7..9f9972bc69ebd31e24e9828b1232d2366f457f2e 100644 (file)
@@ -337,6 +337,8 @@ unsigned int iSeries_get_irq(void)
        return irq;
 }
 
+#ifdef CONFIG_PCI
+
 static int iseries_irq_host_map(struct irq_host *h, unsigned int virq,
                                irq_hw_number_t hw)
 {
@@ -384,3 +386,4 @@ void __init iSeries_init_IRQ(void)
                                "failed with rc 0x%x\n", ret);
 }
 
+#endif /* CONFIG_PCI */