After redefining CONFIG_PM to depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME) the CONFIG_PM_OPS option is redundant and can be replaced with CONFIG_PM.
···585585 return -EINVAL;586586}587587588588-#ifdef CONFIG_PM_OPS588588+#ifdef CONFIG_PM589589/**590590 * acpi_pm_device_sleep_state - return preferred power state of ACPI device591591 * in the system sleep state given by %acpi_target_sleep_state···671671 *d_min_p = d_min;672672 return d_max;673673}674674-#endif /* CONFIG_PM_OPS */674674+#endif /* CONFIG_PM */675675676676#ifdef CONFIG_PM_SLEEP677677/**
···381381int acpi_enable_wakeup_device_power(struct acpi_device *dev, int state);382382int acpi_disable_wakeup_device_power(struct acpi_device *dev);383383384384-#ifdef CONFIG_PM_OPS384384+#ifdef CONFIG_PM385385int acpi_pm_device_sleep_state(struct device *, int *);386386#else387387static inline int acpi_pm_device_sleep_state(struct device *d, int *p)
+1-1
include/linux/pm.h
···267267 * callbacks provided by device drivers supporting both the system sleep PM and268268 * runtime PM, make the pm member point to generic_subsys_pm_ops.269269 */270270-#ifdef CONFIG_PM_OPS270270+#ifdef CONFIG_PM271271extern struct dev_pm_ops generic_subsys_pm_ops;272272#define GENERIC_SUBSYS_PM_OPS (&generic_subsys_pm_ops)273273#else
-5
kernel/power/Kconfig
···220220 anything, try disabling/enabling this option (or disabling/enabling221221 APM in your BIOS).222222223223-config PM_OPS224224- bool225225- depends on PM_SLEEP || PM_RUNTIME226226- default y227227-228223config ARCH_HAS_OPP229224 bool230225