X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpm_legacy.h;h=446f4f42b952894b3ffe1c2cb2cf91780e86ee33;hb=c000131c711f68cb68712e6553ddce5fa6ad5c5c;hp=514729a446888e21dee4289db2ea4e71f80f6eaa;hpb=26865e9c26d2d336f385b821b531ce2b31008e20;p=linux-2.6 diff --git a/include/linux/pm_legacy.h b/include/linux/pm_legacy.h index 514729a446..446f4f42b9 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)