Asahi Kasei AK8974 3-Axis Magnetometer

modulename: ak8974.ko

configname: CONFIG_AK8974

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>Device Tree and Open Firmware support
└─>Asahi Kasei AK8974 3-Axis Magnetometer
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Say yes here to build support for Asahi Kasei AK8974, AMI305 or
AMI306 I2C-based 3-axis magnetometer chips.

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

source code: