mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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>
This commit is contained in:
parent
1a1214519b
commit
ec98e6b836
@ -66,10 +66,11 @@ static struct gpio_port_t * const gpio_array[] = {
|
|||||||
(struct gpio_port_t *)PORTE_FER,
|
(struct gpio_port_t *)PORTE_FER,
|
||||||
(struct gpio_port_t *)PORTF_FER,
|
(struct gpio_port_t *)PORTF_FER,
|
||||||
(struct gpio_port_t *)PORTG_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 *)PORTH_FER,
|
||||||
(struct gpio_port_t *)PORTI_FER,
|
(struct gpio_port_t *)PORTI_FER,
|
||||||
(struct gpio_port_t *)PORTJ_FER,
|
(struct gpio_port_t *)PORTJ_FER,
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# error no gpio arrays defined
|
# error no gpio arrays defined
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user