]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PowerMac: Fix build of via-pmu driver with some .config's
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 3 Sep 2003 03:14:25 +0000 (20:14 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 3 Sep 2003 03:14:25 +0000 (20:14 -0700)
This fixes the build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is
not set.

drivers/macintosh/via-pmu.c

index bb6409ccace28504ad7257dfd94c27f69a4942f8..40ca8ea7f3a29e9a94a0370a045a2df45f2a7af7 100644 (file)
@@ -1391,10 +1391,10 @@ next:
                if (pmu_battery_count)
                        query_battery_state();
                pmu_pass_intr(data, len);
-       } else
+       } else {
               pmu_pass_intr(data, len);
-
 #endif /* CONFIG_PMAC_PBOOK */
+       }
        goto next;
 }