AS3935 Franklin lightning sensor

modulename: as3935.ko

configname: CONFIG_AS3935

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Lightning sensors
└─>SPI support
└─>AS3935 Franklin lightning sensor
In linux kernel since version 3.16 (release Date: 2014-08-03)  
Say Y here to build SPI interface support for the Austrian
Microsystems AS3935 lightning detection sensor.

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

source code: