Commit 18244cfb authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras

[POWERPC] iSeries_init_IRQ non-PCI tidy

ppc_md.init_IRQ is not called if it is NULL, so we don't need an empty
routine in the non PCI case.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent f2205fbb
#ifndef _ISERIES_IRQ_H #ifndef _ISERIES_IRQ_H
#define _ISERIES_IRQ_H #define _ISERIES_IRQ_H
#ifdef CONFIG_PCI
extern void iSeries_init_IRQ(void); extern void iSeries_init_IRQ(void);
extern int iSeries_allocate_IRQ(HvBusNumber, HvSubBusNumber, u32); extern int iSeries_allocate_IRQ(HvBusNumber, HvSubBusNumber, u32);
extern void iSeries_activate_IRQs(void); extern void iSeries_activate_IRQs(void);
#else
#define iSeries_init_IRQ NULL
#endif
extern unsigned int iSeries_get_irq(void); extern unsigned int iSeries_get_irq(void);
#endif /* _ISERIES_IRQ_H */ #endif /* _ISERIES_IRQ_H */
...@@ -617,10 +617,6 @@ static void iseries_dedicated_idle(void) ...@@ -617,10 +617,6 @@ static void iseries_dedicated_idle(void)
} }
} }
#ifndef CONFIG_PCI
void __init iSeries_init_IRQ(void) { }
#endif
static void __iomem *iseries_ioremap(phys_addr_t address, unsigned long size, static void __iomem *iseries_ioremap(phys_addr_t address, unsigned long size,
unsigned long flags) unsigned long flags)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment