diff options
author | Steven Miao <realmz6@gmail.com> | 2012-05-08 05:58:46 (GMT) |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 06:54:41 (GMT) |
commit | ec98e6b836aff86fe764e28934e56a2f522a07dc (patch) | |
tree | 40806a7cc1a47579c46da4317be9f075dd1a32df /arch | |
parent | 1a1214519be643461bbe1a779ca9d436f993e465 (diff) | |
download | linux-fsl-qoriq-ec98e6b836aff86fe764e28934e56a2f522a07dc.tar.xz |
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>
Diffstat (limited to 'arch')
-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 c6e8009..83139aa 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[] = { (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 |