Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/input.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
Go to the source code of this file.
Data Structures | |
struct | ebook_switch |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | MODULE_NAME "xo15-ebook" |
#define | XO15_EBOOK_CLASS MODULE_NAME |
#define | XO15_EBOOK_TYPE_UNKNOWN 0x00 |
#define | XO15_EBOOK_NOTIFY_STATUS 0x80 |
#define | XO15_EBOOK_SUBCLASS "ebook" |
#define | XO15_EBOOK_HID "XO15EBK" |
#define | XO15_EBOOK_DEVICE_NAME "EBook Switch" |
Functions | |
ACPI_MODULE_NAME (MODULE_NAME) | |
MODULE_DESCRIPTION ("OLPC XO-1.5 ebook switch driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (acpi, ebook_device_ids) | |
module_acpi_driver (xo15_ebook_driver) | |
#define MODULE_NAME "xo15-ebook" |
Definition at line 24 of file xo15-ebook.c.
Definition at line 14 of file xo15-ebook.c.
#define XO15_EBOOK_CLASS MODULE_NAME |
Definition at line 26 of file xo15-ebook.c.
#define XO15_EBOOK_DEVICE_NAME "EBook Switch" |
Definition at line 32 of file xo15-ebook.c.
#define XO15_EBOOK_HID "XO15EBK" |
Definition at line 31 of file xo15-ebook.c.
#define XO15_EBOOK_NOTIFY_STATUS 0x80 |
Definition at line 28 of file xo15-ebook.c.
#define XO15_EBOOK_SUBCLASS "ebook" |
Definition at line 30 of file xo15-ebook.c.
#define XO15_EBOOK_TYPE_UNKNOWN 0x00 |
Definition at line 27 of file xo15-ebook.c.
ACPI_MODULE_NAME | ( | MODULE_NAME | ) |
module_acpi_driver | ( | xo15_ebook_driver | ) |
MODULE_DEVICE_TABLE | ( | acpi | , |
ebook_device_ids | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |