patch-2.3.47 linux/include/linux/pm.h

Next file: linux/include/linux/sched.h
Previous file: linux/include/linux/pci_ids.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/include/linux/pm.h linux/include/linux/pm.h
@@ -105,7 +105,7 @@
 	struct list_head entry;
 };
 
-#if defined(CONFIG_ACPI) || defined(CONFIG_APM)
+#if defined(CONFIG_ACPI) || defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
 
 extern int pm_active;
 
@@ -141,7 +141,7 @@
 extern inline void pm_access(struct pm_dev *dev) {}
 extern inline void pm_dev_idle(struct pm_dev *dev) {}
 
-#else // CONFIG_ACPI || CONFIG_APM
+#else /* CONFIG_ACPI || CONFIG_APM || CONFIG_APM_MODULE */
 
 #define PM_IS_ACTIVE() 0
 
@@ -169,11 +169,11 @@
 extern inline void pm_access(struct pm_dev *dev) {}
 extern inline void pm_dev_idle(struct pm_dev *dev) {}
 
-#endif // CONFIG_ACPI || CONFIG_APM
+#endif /* CONFIG_ACPI || CONFIG_APM || CONFIG_APM_MODULE */
 
 extern void (*pm_idle)(void);
 extern void (*pm_power_off)(void);
 
-#endif // __KERNEL__
+#endif /* __KERNEL__ */
 
 #endif /* _LINUX_PM_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)