ACPI / scan: Consolidate extraction of power resources lists
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / acpi / internal.h
index e28068a765a9fd109c8caeed44c5578c079c8533..c35435e3d760464c5a6d9a279dad861b5f2564a7 100644 (file)
@@ -50,8 +50,10 @@ void acpi_free_ids(struct acpi_device *device);
                                   Power Resource
    -------------------------------------------------------------------------- */
 int acpi_power_init(void);
-void acpi_power_resources_list_add(acpi_handle handle, struct list_head *list);
 void acpi_power_resources_list_free(struct list_head *list);
+acpi_status acpi_extract_power_resources(union acpi_object *package,
+                                        unsigned int start,
+                                        struct list_head *list);
 void acpi_add_power_resource(acpi_handle handle);
 void acpi_power_add_remove_device(struct acpi_device *adev, bool add);
 int acpi_device_sleep_wake(struct acpi_device *dev,