hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/acpi.h
....@@ -1001,6 +1001,7 @@
10011001 int acpi_subsys_runtime_suspend(struct device *dev);
10021002 int acpi_subsys_runtime_resume(struct device *dev);
10031003 int acpi_dev_pm_attach(struct device *dev, bool power_on);
1004
+bool acpi_storage_d3(struct device *dev);
10041005 #else
10051006 static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; }
10061007 static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; }
....@@ -1008,6 +1009,10 @@
10081009 {
10091010 return 0;
10101011 }
1012
+static inline bool acpi_storage_d3(struct device *dev)
1013
+{
1014
+ return false;
1015
+}
10111016 #endif
10121017
10131018 #if defined(CONFIG_ACPI) && defined(CONFIG_PM_SLEEP)