diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-04-27 02:13:01 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:33 -0400 |
commit | 494b794808c6b1ead80590c01b08a87850cc4724 (patch) | |
tree | 21cee8f26e84617a32a21d5f4898f9bad757c534 /arch/blackfin/mach-common | |
parent | 8e2f524fd99d0f5574c4323006e29c1f3d5d564e (diff) |
blackfin: mach-common: ints-priority: fix compile error
IRQ_PINT4/PINT5 are not defined on !CONFIG_BF60x, this patch fix it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-common')
-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) | |||
1107 | case 1: | 1107 | case 1: |
1108 | pint_irq = IRQ_PINT1; | 1108 | pint_irq = IRQ_PINT1; |
1109 | break; | 1109 | break; |
1110 | #ifdef CONFIG_BF60x | ||
1110 | case 4: | 1111 | case 4: |
1111 | pint_irq = IRQ_PINT4; | 1112 | pint_irq = IRQ_PINT4; |
1112 | break; | 1113 | break; |
1113 | case 5: | 1114 | case 5: |
1114 | pint_irq = IRQ_PINT5; | 1115 | pint_irq = IRQ_PINT5; |
1115 | break; | 1116 | break; |
1117 | #endif | ||
1116 | default: | 1118 | default: |
1117 | return -EINVAL; | 1119 | return -EINVAL; |
1118 | } | 1120 | } |