Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #include <linux/types.h> |
2 | #include <cust_acc.h> | |
3 | #include <mach/mt_pm_ldo.h> | |
4 | ||
5 | ||
6 | /*---------------------------------------------------------------------------*/ | |
7 | static struct acc_hw cust_acc_hw = { | |
8 | .i2c_num = 2, | |
9 | .direction = 7, | |
10 | .power_id = MT65XX_POWER_NONE, /*!< LDO is not used */ | |
11 | .power_vol= VOL_DEFAULT, /*!< LDO is not used */ | |
12 | .firlen = 0, //old value 16 /*!< don't enable low pass fileter */ | |
13 | }; | |
14 | /*---------------------------------------------------------------------------*/ | |
15 | struct acc_hw* get_cust_acc_hw(void) | |
16 | { | |
17 | return &cust_acc_hw; | |
18 | } |