summaryrefslogtreecommitdiff
path: root/include/acpi/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/battery.h')
-rw-r--r--include/acpi/battery.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/battery.h b/include/acpi/battery.h
index b8d56b702c7a..611a2561a014 100644
--- a/include/acpi/battery.h
+++ b/include/acpi/battery.h
@@ -12,8 +12,8 @@
struct acpi_battery_hook {
const char *name;
- int (*add_battery)(struct power_supply *battery);
- int (*remove_battery)(struct power_supply *battery);
+ int (*add_battery)(struct power_supply *battery, struct acpi_battery_hook *hook);
+ int (*remove_battery)(struct power_supply *battery, struct acpi_battery_hook *hook);
struct list_head list;
};