Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #include <cust_vibrator.h> |
2 | #include <linux/types.h> | |
3 | ||
4 | static struct vibrator_hw cust_vibrator_hw = { | |
5 | .vib_timer = 25, | |
6 | #ifdef CUST_VIBR_LIMIT | |
7 | .vib_limit = 9, | |
8 | #endif | |
9 | #ifdef CUST_VIBR_VOL | |
10 | .vib_vol = 0x5,//2.8V for vibr | |
11 | #endif | |
12 | }; | |
13 | ||
14 | struct vibrator_hw *get_cust_vibrator_hw(void) | |
15 | { | |
16 | return &cust_vibrator_hw; | |
17 | } | |
18 |