Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rotary_encoder.c File Reference
#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.

Data Structures

struct  rotary_encoder
 

Macros

#define DRV_NAME   "rotary-encoder"
 

Functions

 module_platform_driver (rotary_encoder_driver)
 
 MODULE_ALIAS ("platform:"DRV_NAME)
 
 MODULE_DESCRIPTION ("GPIO rotary encoder driver")
 
 MODULE_AUTHOR ("Daniel Mack <[email protected]>, Johan Hovold")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DRV_NAME   "rotary-encoder"

Definition at line 30 of file rotary_encoder.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRV_NAME)
MODULE_AUTHOR ( "Daniel Mack <[email protected] ,
Johan Hovold"   
)
MODULE_DESCRIPTION ( "GPIO rotary encoder driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( rotary_encoder_driver  )