summaryrefslogtreecommitdiff
path: root/board/damu/board.c
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-02-16 10:45:57 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-24 19:09:44 +0000
commit3c012e5950599f0a81dadc351ecf23ee5f84e404 (patch)
tree93f18ef7c47616b522395a80339a9ee3e90f343c /board/damu/board.c
parentec935993f233a8b1329757fc5716a5de1b200d00 (diff)
downloadchrome-ec-3c012e5950599f0a81dadc351ecf23ee5f84e404.tar.gz
COIL: Rename ioexpander i2c address variable
Rename ioexpander i2c address to match current conventions and update any calling locations. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Iddad457f73d0dd0167496b794c00e274f8985615 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2697855 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/damu/board.c')
-rw-r--r--board/damu/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/damu/board.c b/board/damu/board.c
index b945347c46..5e431a66d0 100644
--- a/board/damu/board.c
+++ b/board/damu/board.c
@@ -108,7 +108,7 @@ struct keyboard_scan_config keyscan_config = {
struct ioexpander_config_t ioex_config[CONFIG_IO_EXPANDER_PORT_COUNT] = {
[0] = {
.i2c_host_port = I2C_PORT_IO_EXPANDER_IT8801,
- .i2c_slave_addr = IT8801_I2C_ADDR,
+ .i2c_addr_flags = IT8801_I2C_ADDR,
.drv = &it8801_ioexpander_drv,
},
};