|
@@ -311,7 +311,6 @@ struct acpi_device {
|
|
unsigned int physical_node_count;
|
|
unsigned int physical_node_count;
|
|
struct list_head physical_node_list;
|
|
struct list_head physical_node_list;
|
|
struct mutex physical_node_lock;
|
|
struct mutex physical_node_lock;
|
|
- struct list_head power_dependent;
|
|
|
|
void (*remove)(struct acpi_device *);
|
|
void (*remove)(struct acpi_device *);
|
|
};
|
|
};
|
|
|
|
|
|
@@ -456,8 +455,6 @@ acpi_status acpi_add_pm_notifier(struct acpi_device *adev,
|
|
acpi_status acpi_remove_pm_notifier(struct acpi_device *adev,
|
|
acpi_status acpi_remove_pm_notifier(struct acpi_device *adev,
|
|
acpi_notify_handler handler);
|
|
acpi_notify_handler handler);
|
|
int acpi_pm_device_sleep_state(struct device *, int *, int);
|
|
int acpi_pm_device_sleep_state(struct device *, int *, int);
|
|
-void acpi_dev_pm_add_dependent(acpi_handle handle, struct device *depdev);
|
|
|
|
-void acpi_dev_pm_remove_dependent(acpi_handle handle, struct device *depdev);
|
|
|
|
#else
|
|
#else
|
|
static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev,
|
|
static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev,
|
|
acpi_notify_handler handler,
|
|
acpi_notify_handler handler,
|
|
@@ -478,10 +475,6 @@ static inline int acpi_pm_device_sleep_state(struct device *d, int *p, int m)
|
|
return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ?
|
|
return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ?
|
|
m : ACPI_STATE_D0;
|
|
m : ACPI_STATE_D0;
|
|
}
|
|
}
|
|
-static inline void acpi_dev_pm_add_dependent(acpi_handle handle,
|
|
|
|
- struct device *depdev) {}
|
|
|
|
-static inline void acpi_dev_pm_remove_dependent(acpi_handle handle,
|
|
|
|
- struct device *depdev) {}
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_PM_RUNTIME
|
|
#ifdef CONFIG_PM_RUNTIME
|