aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mpu3050/mpu-accel.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mpu3050/mpu-accel.h')
-rwxr-xr-xdrivers/misc/mpu3050/mpu-accel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/mpu3050/mpu-accel.h b/drivers/misc/mpu3050/mpu-accel.h
new file mode 100755
index 0000000..5dd57c9
--- /dev/null
+++ b/drivers/misc/mpu3050/mpu-accel.h
@@ -0,0 +1,8 @@
+#undef MPUACC_USES_CACHED_DATA
+#define MPUACC_USES_MOUNTING_MATRIX
+
+int mpu_accel_init(struct mldl_cfg *mldl_cfg, void *accel_handle);
+int mpu_accel_exit(struct mldl_cfg *mldl_cfg);
+int mpu_accel_suspend(struct mldl_cfg *mldl_cfg);
+int mpu_accel_resume(struct mldl_cfg *mldl_cfg);
+int mpu_accel_read(struct mldl_cfg *mldl_cfg, unsigned char *buffer);