Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/input-polldev.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/input/gpio_tilt.h>
Go to the source code of this file.
Data Structures | |
struct | gpio_tilt_polled_dev |
Macros | |
#define | DRV_NAME "gpio-tilt-polled" |
Functions | |
module_platform_driver (gpio_tilt_polled_driver) | |
MODULE_LICENSE ("GPL v2") | |
MODULE_AUTHOR ("Heiko Stuebner <[email protected]>") | |
MODULE_DESCRIPTION ("Polled GPIO tilt driver") | |
MODULE_ALIAS ("platform:"DRV_NAME) | |
#define DRV_NAME "gpio-tilt-polled" |
Definition at line 28 of file gpio_tilt_polled.c.
MODULE_ALIAS | ( | "platform:" | DRV_NAME | ) |
MODULE_AUTHOR | ( | "Heiko Stuebner <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | gpio_tilt_polled_driver | ) |