| .. | .. |
|---|
| 1001 | 1001 | int acpi_subsys_runtime_suspend(struct device *dev); |
|---|
| 1002 | 1002 | int acpi_subsys_runtime_resume(struct device *dev); |
|---|
| 1003 | 1003 | int acpi_dev_pm_attach(struct device *dev, bool power_on); |
|---|
| 1004 | +bool acpi_storage_d3(struct device *dev); |
|---|
| 1004 | 1005 | #else |
|---|
| 1005 | 1006 | static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; } |
|---|
| 1006 | 1007 | static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } |
|---|
| .. | .. |
|---|
| 1008 | 1009 | { |
|---|
| 1009 | 1010 | return 0; |
|---|
| 1010 | 1011 | } |
|---|
| 1012 | +static inline bool acpi_storage_d3(struct device *dev) |
|---|
| 1013 | +{ |
|---|
| 1014 | + return false; |
|---|
| 1015 | +} |
|---|
| 1011 | 1016 | #endif |
|---|
| 1012 | 1017 | |
|---|
| 1013 | 1018 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM_SLEEP) |
|---|