#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/rotary_encoder.h>
#include <linux/slab.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>
Go to the source code of this file.
#define DRV_NAME "rotary-encoder" |
MODULE_ALIAS |
( |
"platform:" |
DRV_NAME | ) |
|
MODULE_DESCRIPTION |
( |
"GPIO rotary encoder driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
rotary_encoder_driver |
| ) |
|