Asahi Kasei AK8975 3-Axis Magnetometer

modulename: ak8975.ko

configname: CONFIG_AK8975

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>I2C support
└─>GPIO Support
└─>Asahi Kasei AK8975 3-Axis Magnetometer
In linux kernel since version 3.1 (release Date: 2011-10-24)  
Say yes here to build support for Asahi Kasei AK8975 3-Axis
Magnetometer.

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

source code: