]> Pileus Git - ~andy/linux/blobdiff - drivers/acpi/internal.h
ACPI / scan: Add acpi_device objects for all device nodes in the namespace
[~andy/linux] / drivers / acpi / internal.h
index d8606498bf6f0d97ae2a30fae4287abf2c7614ec..809b8082c134029250ef9c7b9f2167a7c04b78a4 100644 (file)
@@ -90,6 +90,7 @@ void acpi_free_pnp_ids(struct acpi_device_pnp *pnp);
 int acpi_bind_one(struct device *dev, acpi_handle handle);
 int acpi_unbind_one(struct device *dev);
 void acpi_bus_device_eject(void *data, u32 ost_src);
+bool acpi_device_is_present(struct acpi_device *adev);
 
 /* --------------------------------------------------------------------------
                                   Power Resource
@@ -107,6 +108,8 @@ int acpi_power_get_inferred_state(struct acpi_device *device, int *state);
 int acpi_power_on_resources(struct acpi_device *device, int state);
 int acpi_power_transition(struct acpi_device *device, int state);
 
+int acpi_device_update_power(struct acpi_device *device, int *state_p);
+
 int acpi_wakeup_device_init(void);
 void acpi_early_processor_set_pdc(void);