Kionix KMX61 6-axis accelerometer and magnetometer

modulename: kmx61.ko

configname: CONFIG_KMX61

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Inertial measurement units
└─>Kionix KMX61 6-axis accelerometer and magnetometer
In linux kernel since version 4 (release Date: 2015-04-12)  
Say Y here if you want to build a driver for Kionix KMX61 6-axis
accelerometer and magnetometer.
To compile this driver as module, choose M here: the module will
be called kmx61.

source code: