Freescale MAG3110 3-Axis Magnetometer

modulename: mag3110.ko

configname: CONFIG_MAG3110

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>Freescale MAG3110 3-Axis Magnetometer
In linux kernel since version 3.13 (release Date: 2014-01-19)  
Say yes here to build support for the Freescale MAG3110 3-Axis
magnetometer.

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

source code: