diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-06-15 10:45:45 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-15 23:54:00 -0700 |
commit | 89b8ff1cba1f6399f2990a418b9846fa54187c50 (patch) | |
tree | af188c0a6cae67980a77a8fbc92b31b2e436c96a /board/glados/board.c | |
parent | 7651e32a95233c8b59fe0eb60095e1be3d3fef58 (diff) | |
download | chrome-ec-89b8ff1cba1f6399f2990a418b9846fa54187c50.tar.gz |
cleanup: motion_sense: Remove driver data structure externs
Driver data structs are now accessed through the drv_data pointer.
BUG=chromium:733352
BRANCH=None
TEST=`make buildall -j`
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I8fedb425708a08ae6900ade6f17967fe2bc75ebf
Reviewed-on: https://chromium-review.googlesource.com/537217
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/glados/board.c')
-rw-r--r-- | board/glados/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/glados/board.c b/board/glados/board.c index dd492b17f1..c666c61712 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -476,8 +476,8 @@ DECLARE_HOOK(HOOK_INIT, board_handle_reboot, HOOK_PRIO_FIRST); static struct mutex g_lid_mutex; static struct mutex g_base_mutex; -struct kionix_accel_data g_kx022_data; -struct bmi160_drv_data_t g_bmi160_data; +static struct kionix_accel_data g_kx022_data; +static struct bmi160_drv_data_t g_bmi160_data; struct motion_sensor_t motion_sensors[] = { /* |