diff options
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index bf5dc5f76824..1146a6152ae6 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c @@ -1107,12 +1107,14 @@ static int bfin_gpio_set_wake(struct irq_data *d, unsigned int state) case 1: pint_irq = IRQ_PINT1; break; +#ifdef CONFIG_BF60x case 4: pint_irq = IRQ_PINT4; break; case 5: pint_irq = IRQ_PINT5; break; +#endif default: return -EINVAL; } |