Skip to content

Commit

Permalink
[POWERPC] Make iSeries build without CONFIG_PCI
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Mar 9, 2007
1 parent 5719070 commit be9e95b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/platforms/iseries/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -384,3 +386,4 @@ void __init iSeries_init_IRQ(void)
"failed with rc 0x%x\n", ret);
}

#endif /* CONFIG_PCI */

0 comments on commit be9e95b

Please sign in to comment.