summaryrefslogtreecommitdiff
path: root/include/gpio_list.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2016-04-12 09:16:56 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-12 15:22:29 -0700
commit650d4716748fd8aef1675e72277baec5360068f2 (patch)
tree0b470ea7ca64ff740872f7cbae5e86a9f5db6309 /include/gpio_list.h
parente6533d36a83b81d8b5e47e0271fb8a47bf5b09a6 (diff)
downloadchrome-ec-650d4716748fd8aef1675e72277baec5360068f2.tar.gz
Add header files needed by gpio_list.h
gpio_list.h needs to include compile_time_macros.h and gpio.h for ARRAY_SIZE, BUILD_ASSERT, and struct gpio_info. BUG=none BRANCH=tot TEST=make buildall && make tests Change-Id: Ifa24b0e534065750a006bde8357a13fa1838f7f5 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/338460 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Bill Richardson <wfrichar@google.com>
Diffstat (limited to 'include/gpio_list.h')
-rw-r--r--include/gpio_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpio_list.h b/include/gpio_list.h
index ba0b63e321..5fa9839e13 100644
--- a/include/gpio_list.h
+++ b/include/gpio_list.h
@@ -3,6 +3,8 @@
* found in the LICENSE file.
*/
+#include "compile_time_macros.h"
+#include "gpio.h"
#include "gpio_signal.h"
#ifdef CONFIG_COMMON_GPIO_SHORTNAMES