提交 494b7948 编写于 作者: B Bob Liu

blackfin: mach-common: ints-priority: fix compile error

IRQ_PINT4/PINT5 are not defined on !CONFIG_BF60x, this patch fix it.
Signed-off-by: NBob Liu <lliubbo@gmail.com>
上级 8e2f524f
...@@ -1107,12 +1107,14 @@ static int bfin_gpio_set_wake(struct irq_data *d, unsigned int state) ...@@ -1107,12 +1107,14 @@ static int bfin_gpio_set_wake(struct irq_data *d, unsigned int state)
case 1: case 1:
pint_irq = IRQ_PINT1; pint_irq = IRQ_PINT1;
break; break;
#ifdef CONFIG_BF60x
case 4: case 4:
pint_irq = IRQ_PINT4; pint_irq = IRQ_PINT4;
break; break;
case 5: case 5:
pint_irq = IRQ_PINT5; pint_irq = IRQ_PINT5;
break; break;
#endif
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册