projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a12145
)
bfin_gpio: fix bf548-ezkit kernel fail to boot
author
Steven Miao
<realmz6@gmail.com>
Tue, 8 May 2012 05:58:46 +0000
(13:58 +0800)
committer
Bob Liu
<lliubbo@gmail.com>
Mon, 21 May 2012 06:54:41 +0000
(14:54 +0800)
Fix bf548-ezkit kernel fail to boot when request peripheral pins.
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/kernel/bfin_gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/kernel/bfin_gpio.c
b/arch/blackfin/kernel/bfin_gpio.c
index c6e8009981264c09e6e47272180b29a84f8517b4..83139aaf3072b21c3faafb9c1b69bade1cdf3ccf 100644
(file)
--- a/
arch/blackfin/kernel/bfin_gpio.c
+++ b/
arch/blackfin/kernel/bfin_gpio.c
@@
-66,10
+66,11
@@
static struct gpio_port_t * const gpio_array[] = {
(struct gpio_port_t *)PORTE_FER,
(struct gpio_port_t *)PORTF_FER,
(struct gpio_port_t *)PORTG_FER,
-#
elif defined(CONFIG_BF54x)
+#
if defined(CONFIG_BF54x)
(struct gpio_port_t *)PORTH_FER,
(struct gpio_port_t *)PORTI_FER,
(struct gpio_port_t *)PORTJ_FER,
+# endif
#else
# error no gpio arrays defined
#endif