linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / powerpc / platforms / powermac / time.c
index a417390..5d9afa1 100644 (file)
@@ -9,6 +9,7 @@
  * Copyright (C) 2003-2005 Benjamin Herrenschmidt.
  *
  */
+#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
@@ -335,10 +336,10 @@ static struct pmu_sleep_notifier time_sleep_notifier = {
  */
 void __init pmac_calibrate_decr(void)
 {
-#if defined(CONFIG_PM) && defined(CONFIG_ADB_PMU)
+#ifdef CONFIG_PM
        /* XXX why here? */
        pmu_register_sleep_notifier(&time_sleep_notifier);
-#endif
+#endif /* CONFIG_PM */
 
        generic_calibrate_decr();