From a3a5c90b54670ddc865defc16757f1fef78ca322 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Sat, 25 Jul 2015 02:26:03 -0700 Subject: accel: mechanical changes from i2c_addr to addr Encode both the I2C address and SPI GPIO CS in addr field. Mechanical change to rename i2c_addr into addr. BRANCH=smaug TEST=compile BUG=chrome-os-partner:42304 Change-Id: I1c7435398deacb27211445afa27a08716d224c06 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/288513 Reviewed-by: Vincent Palatin Commit-Queue: David James --- test/motion_lid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/motion_lid.c') diff --git a/test/motion_lid.c b/test/motion_lid.c index a3ce4925f1..18c4f64f33 100644 --- a/test/motion_lid.c +++ b/test/motion_lid.c @@ -118,7 +118,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &test_motion_sense, .mutex = NULL, .drv_data = NULL, - .i2c_addr = 0, + .addr = 0, .rot_standard_ref = &base_standard_ref, .default_config = { .odr = 119000, @@ -134,7 +134,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &test_motion_sense, .mutex = NULL, .drv_data = NULL, - .i2c_addr = 0, + .addr = 0, .rot_standard_ref = &lid_standard_ref, .default_config = { .odr = 119000, -- cgit v1.2.1