Merge branches 'acpi-soc', 'acpi-bus', 'acpi-pmic' and 'acpi-power'
[sfrench/cifs-2.6.git] / include / acpi / acpi_bus.h
index b53c058e70092b1e30777be6a1da10299e4e4224..a3ef584c8c0c31e211489d6e3f168b456f553e72 100644 (file)
@@ -587,6 +587,15 @@ struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle);
 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int state);
 int acpi_disable_wakeup_device_power(struct acpi_device *dev);
 
+#ifdef CONFIG_X86
+bool acpi_device_always_present(struct acpi_device *adev);
+#else
+static inline bool acpi_device_always_present(struct acpi_device *adev)
+{
+       return false;
+}
+#endif
+
 #ifdef CONFIG_PM
 acpi_status acpi_add_pm_notifier(struct acpi_device *adev, struct device *dev,
                                 void (*work_func)(struct work_struct *work));