Skip to content
Commit fd765b0e authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

common: board_r: include asm-generic/gpio.h



Not all architectures define <asm/gpio.h> and even on those that do, the
header cannot be included for all boards without causing various build
failures.

Since common/board_r.c only needs gpio_hog_probe_all() declaration, include
<asm-generic/gpio.h> and drop the associated ifdef.

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
parent 2fd81be1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment