|
The android app has its own interface for mma8451 data. The inerface isn't a regular input dev interface.
Since it is difficult to maintain the code within one file, one new file and configure will be added. It would
not be compiled in the default config. If want to use this driver, need to follow:
*Disable the CONFIG_MXC_MMA8451.
*Enable the CONFIG_MXC_MMA8x5x and make.
The code is from branch imx_3.10.y_android. The main modification is :
*Using device to pass into parameters related with platform not hard code.
*Codeing style issues
Signed-off-by: Luwei Zhou <b45643@freescale.com>
(cherry picked from commit e3faf9d404fcd3663c47cd1183e01a71c53b9eb8)
|