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 /driver/als_si114x.h | |
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 'driver/als_si114x.h')
-rw-r--r-- | driver/als_si114x.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/driver/als_si114x.h b/driver/als_si114x.h index aeb84dbfb3..3ca30300f8 100644 --- a/driver/als_si114x.h +++ b/driver/als_si114x.h @@ -258,7 +258,6 @@ struct si114x_drv_data_t { #define SI114X_GET_TYPED_DATA(_s) \ (&SI114X_GET_DATA(_s)->type_data[(_s)->type - MOTIONSENSE_TYPE_PROX]) -extern struct si114x_drv_data_t g_si114x_data; void si114x_interrupt(enum gpio_signal signal); #endif /* __CROS_EC_ALS_SI114X_H */ |