Skip to content

Instantly share code, notes, and snippets.

@gabirx
gabirx / wiegand-gpio.c
Last active April 19, 2020 12:56
Gpio read module
/* wiegand-gpio.c.
*.
* Wiegand test driver using GPIO an interrupts..
*
*/
/* Standard headers for LKMs */
#include <linux/module.h><----->/* Needed by all modules */
#include <linux/kernel.h><----->/* Needed for KERN_INFO */
#include <linux/kobject.h>