Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/input-polldev.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | buttons_dev |
Macros | |
#define | BUTTONS_POLL_INTERVAL 30 /* msec */ |
#define | BUTTONS_COUNT_THRESHOLD 3 |
#define | BUTTONS_STATUS_MASK 0xfe000000 |
Functions | |
MODULE_AUTHOR ("Yoichi Yuasa <[email protected]>") | |
MODULE_DESCRIPTION ("Cobalt button interface driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:Cobalt buttons") | |
module_platform_driver (cobalt_buttons_driver) | |
#define BUTTONS_COUNT_THRESHOLD 3 |
Definition at line 28 of file cobalt_btns.c.
#define BUTTONS_POLL_INTERVAL 30 /* msec */ |
Definition at line 27 of file cobalt_btns.c.
#define BUTTONS_STATUS_MASK 0xfe000000 |
Definition at line 29 of file cobalt_btns.c.
MODULE_ALIAS | ( | "platform:Cobalt buttons" | ) |
MODULE_AUTHOR | ( | "Yoichi Yuasa <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | cobalt_buttons_driver | ) |