Change struct offsets tests
Change the structure offset tests to account for the addition
of a new member in a sensors device structure.
Change-Id: I2ef7b82446b09b32f903346bbc9b857a99d80043
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp
index 0f4ef41..d6ea073 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -115,7 +115,8 @@
CHECK_MEMBER_AT(sensors_poll_device_1_t, poll, 72, 136);
CHECK_MEMBER_AT(sensors_poll_device_1_t, batch, 76, 144);
CHECK_MEMBER_AT(sensors_poll_device_1_t, flush, 80, 152);
- CHECK_MEMBER_AT(sensors_poll_device_1_t, reserved_procs, 84, 160);
+ CHECK_MEMBER_AT(sensors_poll_device_1_t, inject_sensor_data, 84, 160);
+ CHECK_MEMBER_AT(sensors_poll_device_1_t, reserved_procs, 88, 168);
//Types defined in fb.h
CHECK_MEMBER_AT(framebuffer_device_t, common, 0, 0);