|
@@ -117,6 +117,7 @@ struct acpi_battery {
|
|
|
struct acpi_device *device;
|
|
|
struct notifier_block pm_nb;
|
|
|
unsigned long update_time;
|
|
|
+ int revision;
|
|
|
int rate_now;
|
|
|
int capacity_now;
|
|
|
int voltage_now;
|
|
@@ -359,6 +360,7 @@ static struct acpi_offsets info_offsets[] = {
|
|
|
};
|
|
|
|
|
|
static struct acpi_offsets extended_info_offsets[] = {
|
|
|
+ {offsetof(struct acpi_battery, revision), 0},
|
|
|
{offsetof(struct acpi_battery, power_unit), 0},
|
|
|
{offsetof(struct acpi_battery, design_capacity), 0},
|
|
|
{offsetof(struct acpi_battery, full_charge_capacity), 0},
|