diff options
author | Caveh Jalali <caveh@chromium.org> | 2020-10-16 00:55:03 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-19 00:44:19 +0000 |
commit | 44620e86637f20719fe248f1207ac5c3c9f27b61 (patch) | |
tree | 4d8e216d1efb116cc8ef6019ec67242f102d38b9 | |
parent | 1f1781f1af527edcab886fb54b540a7879291295 (diff) | |
download | chrome-ec-44620e86637f20719fe248f1207ac5c3c9f27b61.tar.gz |
ioexpander: forward declare ioex_signal
this adds a forward declaration for enum ioex_signal so it can safely
be used in declaring function prototypes.
BRANCH=none
BUG=none
TEST=buildall
Change-Id: I51127099151580961bc176bad1bcd5b11a705a85
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2546800
-rw-r--r-- | include/ioexpander.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ioexpander.h b/include/ioexpander.h index ebdb4ac652..c04cf83c9a 100644 --- a/include/ioexpander.h +++ b/include/ioexpander.h @@ -7,6 +7,8 @@ #ifndef __CROS_EC_IOEXPANDER_H #define __CROS_EC_IOEXPANDER_H +enum ioex_signal; /* from gpio_signal.h */ + /* IO expander signal definition structure */ struct ioex_info { /* Signal name */ |