summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub/MemMapPassive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/m4sensorhub/MemMapPassive.h')
-rw-r--r--include/linux/m4sensorhub/MemMapPassive.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/m4sensorhub/MemMapPassive.h b/include/linux/m4sensorhub/MemMapPassive.h
new file mode 100644
index 00000000000..3d2c016b1ed
--- /dev/null
+++ b/include/linux/m4sensorhub/MemMapPassive.h
@@ -0,0 +1,26 @@
+/*********************************************************************
+*
+* Copyright (C) 2012 Motorola, Inc.
+*
+**********************************************************************
+
+File : MemMapPassive.h
+Purpose :
+**********************************************************************/
+#ifndef __MEMMAP_PASSIVE_H__
+#define __MEMMAP_PASSIVE_H__
+/********************************** Defines **************************/
+
+#define MAX_PASSIVE_BUFFERS 12
+
+typedef struct memMapPassive {
+ u32 timestamp[MAX_PASSIVE_BUFFERS];
+ u32 steps[MAX_PASSIVE_BUFFERS];
+ u32 mets[MAX_PASSIVE_BUFFERS];
+ u32 floorsClimbed[MAX_PASSIVE_BUFFERS];
+} sPassive;
+
+/********************************** Globals ***************************/
+
+/********************************** Prototypes ************************/
+#endif