Freescale MMA8452Q Accelerometer Driver

modulename: mma8452.ko

configname: CONFIG_MMA8452

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>Freescale MMA8452Q Accelerometer Driver
In linux kernel since version 3.16 (release Date: 2014-08-03)  
Say yes here to build support for the Freescale MMA8452Q 3-axis
accelerometer.

To compile this driver as a module, choose M here: the module
will be called mma8452.

source code: