diff options
author | Steven Miao <realmz6@gmail.com> | 2012-05-08 01:58:46 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:41 -0400 |
commit | ec98e6b836aff86fe764e28934e56a2f522a07dc (patch) | |
tree | 40806a7cc1a47579c46da4317be9f075dd1a32df | |
parent | 1a1214519be643461bbe1a779ca9d436f993e465 (diff) |
bfin_gpio: fix bf548-ezkit kernel fail to boot
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>
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index c6e800998126..83139aaf3072 100644 --- 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[] = { | |||
66 | (struct gpio_port_t *)PORTE_FER, | 66 | (struct gpio_port_t *)PORTE_FER, |
67 | (struct gpio_port_t *)PORTF_FER, | 67 | (struct gpio_port_t *)PORTF_FER, |
68 | (struct gpio_port_t *)PORTG_FER, | 68 | (struct gpio_port_t *)PORTG_FER, |
69 | #elif defined(CONFIG_BF54x) | 69 | # if defined(CONFIG_BF54x) |
70 | (struct gpio_port_t *)PORTH_FER, | 70 | (struct gpio_port_t *)PORTH_FER, |
71 | (struct gpio_port_t *)PORTI_FER, | 71 | (struct gpio_port_t *)PORTI_FER, |
72 | (struct gpio_port_t *)PORTJ_FER, | 72 | (struct gpio_port_t *)PORTJ_FER, |
73 | # endif | ||
73 | #else | 74 | #else |
74 | # error no gpio arrays defined | 75 | # error no gpio arrays defined |
75 | #endif | 76 | #endif |