projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2f524
)
blackfin: mach-common: ints-priority: fix compile error
author
Bob Liu
<lliubbo@gmail.com>
Fri, 27 Apr 2012 06:13:01 +0000
(14:13 +0800)
committer
Bob Liu
<lliubbo@gmail.com>
Mon, 21 May 2012 06:54:33 +0000
(14:54 +0800)
IRQ_PINT4/PINT5 are not defined on !CONFIG_BF60x, this patch fix it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-common/ints-priority.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/mach-common/ints-priority.c
b/arch/blackfin/mach-common/ints-priority.c
index bf5dc5f768249022b5719cd944736e3c167a71fb..1146a6152ae6d8b7b87d45b0fec2b41293f8f507 100644
(file)
--- 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;
}