|
@@ -55,6 +55,9 @@ MODULE_DEVICE_TABLE(acpi, fan_device_ids);
|
|
#ifdef CONFIG_PM_SLEEP
|
|
#ifdef CONFIG_PM_SLEEP
|
|
static int acpi_fan_suspend(struct device *dev);
|
|
static int acpi_fan_suspend(struct device *dev);
|
|
static int acpi_fan_resume(struct device *dev);
|
|
static int acpi_fan_resume(struct device *dev);
|
|
|
|
+#else
|
|
|
|
+#define acpi_fan_suspend NULL
|
|
|
|
+#define acpi_fan_resume NULL
|
|
#endif
|
|
#endif
|
|
static SIMPLE_DEV_PM_OPS(acpi_fan_pm, acpi_fan_suspend, acpi_fan_resume);
|
|
static SIMPLE_DEV_PM_OPS(acpi_fan_pm, acpi_fan_suspend, acpi_fan_resume);
|
|
|
|
|