From: Bob Liu Date: Fri, 27 Apr 2012 06:13:01 +0000 (+0800) Subject: blackfin: mach-common: ints-priority: fix compile error X-Git-Tag: v3.5-rc1~186^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=494b794808c6b1ead80590c01b08a87850cc4724;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index bf5dc5f..1146a61 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; }