summaryrefslogtreecommitdiffstats
path: root/include/linux/pm_legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pm_legacy.h')
-rw-r--r--include/linux/pm_legacy.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/pm_legacy.h b/include/linux/pm_legacy.h
index 514729a..446f4f4 100644
--- a/include/linux/pm_legacy.h
+++ b/include/linux/pm_legacy.h
@@ -4,10 +4,6 @@
#ifdef CONFIG_PM_LEGACY
-extern int pm_active;
-
-#define PM_IS_ACTIVE() (pm_active != 0)
-
/*
* Register a device with power management
*/
@@ -21,8 +17,6 @@ int __deprecated pm_send_all(pm_request_t rqst, void *data);
#else /* CONFIG_PM_LEGACY */
-#define PM_IS_ACTIVE() 0
-
static inline struct pm_dev *pm_register(pm_dev_t type,
unsigned long id,
pm_callback callback)
OpenPOWER on IntegriCloud