MEMSIC MMC35240 3-axis magnetic sensor

modulename: mmc35240.ko

configname: CONFIG_MMC35240

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>MEMSIC MMC35240 3-axis magnetic sensor
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say yes here to build support for the MEMSIC MMC35240 3-axis
magnetic sensor.

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

source code: