summaryrefslogtreecommitdiffstats
path: root/tests/linux_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/linux_spi.c')
-rw-r--r--tests/linux_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/linux_spi.c b/tests/linux_spi.c
index 2e3dc95f4..10096345f 100644
--- a/tests/linux_spi.c
+++ b/tests/linux_spi.c
@@ -60,8 +60,8 @@ void linux_spi_probe_lifecycle_test_success(void **state)
.flags = { O_RDWR },
};
const struct io_mock linux_spi_io = {
- .fgets = linux_spi_fgets,
- .ioctl = linux_spi_ioctl,
+ .iom_fgets = linux_spi_fgets,
+ .iom_ioctl = linux_spi_ioctl,
.fallback_open_state = &linux_spi_fallback_open_state,
};