summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2021-06-04 09:13:31 +0200
committerCommit Bot <commit-bot@chromium.org>2021-06-07 07:29:56 +0000
commita1c880789073cb7181710857a175e5f6794e1278 (patch)
treef5f24842cc542eafef305c1acacd5e3b81cd67a2 /include/motion_sense.h
parentf3dba7f80caccadb9938e6488b7878f096d4baf3 (diff)
downloadchrome-ec-a1c880789073cb7181710857a175e5f6794e1278.tar.gz
zephyr: Clean up motion_sensor header
Remove motion_sensors_alt[] from the motion_sense header, because the array should be used only in motionsense_sensors file. BUG=b:183990188 BRANCH=none TEST=zmake testall Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I0b0e87c72d48a2b27b684612c7a752fa487c4810 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2939670 Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index d2f6c51e03..29ac220395 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -262,11 +262,6 @@ extern mutex_t g_sensor_mutex;
/* Defined at board level. */
extern struct motion_sensor_t motion_sensors[];
-#ifdef CONFIG_ZEPHYR
-/* Defined for alternative drivers (depends on CBI SSFC) */
-extern struct motion_sensor_t motion_sensors_alt[];
-#endif /* CONFIG_ZEPHYR */
-
#ifdef CONFIG_DYNAMIC_MOTION_SENSOR_COUNT
extern unsigned motion_sensor_count;
#else