rk29: gic: add fake set_wake

This commit is contained in:
黄涛
2011-01-18 16:27:49 +08:00
parent a6d902c5aa
commit c3909f0309

View File

@@ -156,6 +156,13 @@ static void gic_handle_cascade_irq(unsigned int irq, struct irq_desc *desc)
chip->unmask(irq);
}
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_RK29)
static int gic_set_wake(unsigned int irq, unsigned int on)
{
return 0;
}
#endif
static struct irq_chip gic_chip = {
.name = "GIC",
.ack = gic_ack_irq,
@@ -164,6 +171,9 @@ static struct irq_chip gic_chip = {
#ifdef CONFIG_SMP
.set_affinity = gic_set_cpu,
#endif
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_RK29)
.set_wake = gic_set_wake,
#endif
};
void __init gic_cascade_irq(unsigned int gic_nr, unsigned int irq)