commit | 132be47a5b762eea35979bfbf6767f8c87c8bab3 | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovidiu.panait@windriver.com> | Sat Jan 01 19:13:30 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 18 08:31:02 2022 -0500 |
tree | 60ddb732b7dee1aec9b3221b702a75da7556ec34 | |
parent | 7dbb021aa3cc6a77e93809d3b85a42a1c21bfc0a [diff] |
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: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>