Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #ifndef __CUST_VIBRATOR_H__ |
2 | #define __CUST_VIBRATOR_H__ | |
3 | ||
4 | #include <mach/mt_reg_base.h> | |
5 | #include <mach/mt_typedefs.h> | |
6 | #include <mach/mt_gpio.h> | |
7 | #include <mach/mt_pm_ldo.h> | |
8 | ||
9 | #define CUST_VIBR_LIMIT | |
10 | #define CUST_VIBR_VOL | |
11 | /*----------------------------------------------------------------------------*/ | |
12 | struct vibrator_hw { | |
13 | int vib_timer; | |
14 | #ifdef CUST_VIBR_LIMIT | |
15 | int vib_limit; | |
16 | #endif | |
17 | #ifdef CUST_VIBR_VOL | |
18 | int vib_vol; | |
19 | #endif | |
20 | }; | |
21 | /*----------------------------------------------------------------------------*/ | |
22 | extern struct vibrator_hw *get_cust_vibrator_hw(void); | |
23 | /*----------------------------------------------------------------------------*/ | |
24 | #endif |