Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Steven Miao and committed by
Bob Liu
ec98e6b8 1a121451

+2 -1
+2 -1
arch/blackfin/kernel/bfin_gpio.c
··· 66 66 (struct gpio_port_t *)PORTE_FER, 67 67 (struct gpio_port_t *)PORTF_FER, 68 68 (struct gpio_port_t *)PORTG_FER, 69 - #elif defined(CONFIG_BF54x) 69 + # if defined(CONFIG_BF54x) 70 70 (struct gpio_port_t *)PORTH_FER, 71 71 (struct gpio_port_t *)PORTI_FER, 72 72 (struct gpio_port_t *)PORTJ_FER, 73 + # endif 73 74 #else 74 75 # error no gpio arrays defined 75 76 #endif