Lines 117-122
struct acpi_battery {
Link Here
|
117 |
struct acpi_device *device; |
117 |
struct acpi_device *device; |
118 |
struct notifier_block pm_nb; |
118 |
struct notifier_block pm_nb; |
119 |
unsigned long update_time; |
119 |
unsigned long update_time; |
|
|
120 |
int revision; |
120 |
int rate_now; |
121 |
int rate_now; |
121 |
int capacity_now; |
122 |
int capacity_now; |
122 |
int voltage_now; |
123 |
int voltage_now; |
Lines 359-364
static struct acpi_offsets info_offsets[] = {
Link Here
|
359 |
}; |
360 |
}; |
360 |
|
361 |
|
361 |
static struct acpi_offsets extended_info_offsets[] = { |
362 |
static struct acpi_offsets extended_info_offsets[] = { |
|
|
363 |
{offsetof(struct acpi_battery, revision), 0}, |
362 |
{offsetof(struct acpi_battery, power_unit), 0}, |
364 |
{offsetof(struct acpi_battery, power_unit), 0}, |
363 |
{offsetof(struct acpi_battery, design_capacity), 0}, |
365 |
{offsetof(struct acpi_battery, design_capacity), 0}, |
364 |
{offsetof(struct acpi_battery, full_charge_capacity), 0}, |
366 |
{offsetof(struct acpi_battery, full_charge_capacity), 0}, |