X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fpm_legacy.h;h=446f4f42b952894b3ffe1c2cb2cf91780e86ee33;hb=ae49ec9258b1ba0456f5d2e9024d0e4742a0188b;hp=514729a446888e21dee4289db2ea4e71f80f6eaa;hpb=d932cb7e630cae3b6b5307b767d296ff1a597c5e;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/pm_legacy.h b/include/linux/pm_legacy.h index 514729a4468..446f4f42b95 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)