Honeywell HMC5983 3-Axis Magnetometer (SPI)

modulename: hmc5843_spi.ko

configname: CONFIG_SENSORS_HMC5843_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>Honeywell HMC5983 3-Axis Magnetometer (SPI)
In linux kernel since version 3.17 (release Date: 2014-10-05)  
Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
(digital compass).

This driver can also be compiled as a set of modules.
If so, these modules will be created:
- hmc5843_core (core functions)
- hmc5843_spi (support for HMC5983)

source code: