Honeywell HMC5843/5883/5883L 3-Axis Magnetometer

modulename: hmc5843.ko

and/or

hmc5843_core.ko

configname: CONFIG_SENSORS_HMC5843

Linux Kernel Configuration
└─>Device Drivers
└─>Staging drivers
└─>IIO staging drivers
└─>Magnetometer sensors
└─>I2C support
└─>Honeywell HMC5843/5883/5883L 3-Axis Magnetometer
In linux kernel since version 2.6.36 (release Date: 2010-10-20)  
Say Y here to add support for the Honeywell HMC5843, HMC5883 and
HMC5883L 3-Axis Magnetometer (digital compass).

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

source code: