summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/pm_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/backport-include/linux/pm_runtime.h')
-rw-r--r--backport/backport-include/linux/pm_runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/backport-include/linux/pm_runtime.h b/backport/backport-include/linux/pm_runtime.h
index 16d2a809..d9163eea 100644
--- a/backport/backport-include/linux/pm_runtime.h
+++ b/backport/backport-include/linux/pm_runtime.h
@@ -2,7 +2,7 @@
#define __BACKPORT_PM_RUNTIME_H
#include_next <linux/pm_runtime.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
+#if LINUX_VERSION_IS_LESS(3,9,0)
#define pm_runtime_active LINUX_BACKPORT(pm_runtime_active)
#ifdef CONFIG_PM
static inline bool pm_runtime_active(struct device *dev)
@@ -14,6 +14,6 @@ static inline bool pm_runtime_active(struct device *dev)
static inline bool pm_runtime_active(struct device *dev) { return true; }
#endif /* CONFIG_PM */
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) */
+#endif /* LINUX_VERSION_IS_LESS(3,9,0) */
#endif /* __BACKPORT_PM_RUNTIME_H */