diff options
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 7e8fab3d3137..9c7d65aee275 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -496,7 +496,10 @@ static int bfin_internal_set_wake_chip(struct irq_data *d, unsigned int state) | |||
496 | return bfin_internal_set_wake(d->irq, state); | 496 | return bfin_internal_set_wake(d->irq, state); |
497 | } | 497 | } |
498 | #else | 498 | #else |
499 | # define bfin_internal_set_wake(irq, state) | 499 | inline int bfin_internal_set_wake(unsigned int irq, unsigned int state) |
500 | { | ||
501 | return 0; | ||
502 | } | ||
500 | # define bfin_internal_set_wake_chip NULL | 503 | # define bfin_internal_set_wake_chip NULL |
501 | #endif | 504 | #endif |
502 | 505 | ||
@@ -527,6 +530,7 @@ static struct irq_chip bfin_sec_irqchip = { | |||
527 | .irq_eoi = bfin_sec_unmask_irq, | 530 | .irq_eoi = bfin_sec_unmask_irq, |
528 | .irq_disable = bfin_sec_disable, | 531 | .irq_disable = bfin_sec_disable, |
529 | .irq_enable = bfin_sec_enable, | 532 | .irq_enable = bfin_sec_enable, |
533 | .irq_set_wake = bfin_internal_set_wake, | ||
530 | }; | 534 | }; |
531 | #endif | 535 | #endif |
532 | 536 | ||