mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
rk29: gic: add fake set_wake
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user