blob: 6006abb6dddf633e785a27dd91bbd8706cb8a120 [file] [log] [blame]
Wentao Xudac9e602012-06-12 11:52:34 -04001/*
2 * Copyright (c) 2012, Code Aurora Forum. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14
15#ifndef __MPU3050_H__
16#define __MPU3050_H__
17
18struct mpu3050_gyro_platform_data {
19 int poll_interval;
20 int min_interval;
21
22 int (*init)(void);
23 void (*exit)(void);
24 int (*power_on)(void);
25 int (*power_off)(void);
26
27 int gpio_int;
28 int gpio_fsync;
29};
30
31#endif /* __MPU3050_H__ */