summaryrefslogtreecommitdiff
path: root/board/wheatley
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-06-15 10:45:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-06-15 23:54:00 -0700
commit89b8ff1cba1f6399f2990a418b9846fa54187c50 (patch)
treeaf188c0a6cae67980a77a8fbc92b31b2e436c96a /board/wheatley
parent7651e32a95233c8b59fe0eb60095e1be3d3fef58 (diff)
downloadchrome-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/wheatley')
-rw-r--r--board/wheatley/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c
index 5c985ea260..0e3772ef2c 100644
--- a/board/wheatley/board.c
+++ b/board/wheatley/board.c
@@ -456,8 +456,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[] = {
[LID_ACCEL] = {