summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/ioex.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/src/ioex.c')
-rw-r--r--zephyr/shim/src/ioex.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/zephyr/shim/src/ioex.c b/zephyr/shim/src/ioex.c
index afda051c8a..da8a1ea05a 100644
--- a/zephyr/shim/src/ioex.c
+++ b/zephyr/shim/src/ioex.c
@@ -34,13 +34,11 @@ int ioex_init(int ioex)
return EC_SUCCESS;
}
-static int ioex_init_default(const struct device *unused)
+static int ioex_init_default(void)
{
int ret;
int i;
- ARG_UNUSED(unused);
-
for (i = 0; i < CONFIG_IO_EXPANDER_PORT_COUNT; i++) {
/* IO Expander has been initialized, skip re-initializing */
if (ioex_config[i].flags &