diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2021-09-09 17:02:02 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-13 08:32:21 +0000 |
commit | 0f1484a7ab134fa890117b6dad912eb383ce323a (patch) | |
tree | 9a897860ef4a8ff35abea9d514bdf4001bc4f66f /driver/ioexpander/it8801.h | |
parent | 9365aa2ef2773e764655774e07230681297ed026 (diff) | |
download | chrome-ec-0f1484a7ab134fa890117b6dad912eb383ce323a.tar.gz |
IOEX: it8801: change the KSO mapping array to overridable
KSO mapping array need to follow the different circuit design,
so change this array to overridable.
BUG=b:199337186
BRANCH=none
TEST=make buildall -j4
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I3ee0ceffbdb50cf9282cda6039c4a44ebe445bd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3151045
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'driver/ioexpander/it8801.h')
-rw-r--r-- | driver/ioexpander/it8801.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ioexpander/it8801.h b/driver/ioexpander/it8801.h index 5cb713c42b..05a17acf78 100644 --- a/driver/ioexpander/it8801.h +++ b/driver/ioexpander/it8801.h @@ -58,6 +58,7 @@ #define IT8801_VALID_GPIO_G1_MASK 0x3F #define IT8801_VALID_GPIO_G2_MASK 0x0F +extern __override_proto const uint8_t it8801_kso_mapping[]; extern const struct ioexpander_drv it8801_ioexpander_drv; /* GPIO Register map */ |