#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/power_supply.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
Go to the source code of this file.
Definition at line 49 of file ac.c.
#define ACPI_AC_CLASS "ac_adapter" |
Definition at line 41 of file ac.c.
#define ACPI_AC_DEVICE_NAME "AC Adapter" |
Definition at line 42 of file ac.c.
#define ACPI_AC_FILE_STATE "state" |
Definition at line 43 of file ac.c.
#define ACPI_AC_NOTIFY_STATUS 0x80 |
Definition at line 44 of file ac.c.
#define ACPI_AC_STATUS_OFFLINE 0x00 |
Definition at line 45 of file ac.c.
#define ACPI_AC_STATUS_ONLINE 0x01 |
Definition at line 46 of file ac.c.
#define ACPI_AC_STATUS_UNKNOWN 0xFF |
Definition at line 47 of file ac.c.
Definition at line 39 of file ac.c.
Definition at line 96 of file ac.c.
ACPI_MODULE_NAME |
( |
"ac" |
| ) |
|
MODULE_AUTHOR |
( |
"Paul Diefenbaugh" |
| ) |
|
MODULE_DESCRIPTION |
( |
"ACPI AC Adapter Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
acpi |
, |
|
|
ac_device_ids |
|
|
) |
| |
module_exit |
( |
acpi_ac_exit |
| ) |
|
module_init |
( |
acpi_ac_init |
| ) |
|