#include <linux/module.h>
#include <linux/device.h>
#include <linux/power_supply.h>
#include <linux/apm-emulation.h>
Go to the source code of this file.
#define _MPSY_PROP |
( |
|
prop, |
|
|
|
val |
|
) |
| |
Value:(main_battery->get_property(main_battery, \
Definition at line 21 of file apm_power.c.
#define PSY_PROP |
( |
|
psy, |
|
|
|
prop, |
|
|
|
val |
|
) |
| |
Value:(psy->get_property(psy, \
POWER_SUPPLY_PROP_##prop,
val))
Definition at line 18 of file apm_power.c.
- Enumerator:
SOURCE_ENERGY |
|
SOURCE_CHARGE |
|
SOURCE_VOLTAGE |
|
Definition at line 29 of file apm_power.c.
MODULE_DESCRIPTION |
( |
"APM emulation driver for battery monitoring class" |
| ) |
|
module_exit |
( |
apm_battery_exit |
| ) |
|
module_init |
( |
apm_battery_init |
| ) |
|