* [PATCH] PowerMac: Fix build of via-pmu driver with some .config's
@ 2003-09-03 16:27 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2003-09-03 16:27 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel mailing list
Hi Linus !
This patch fixes build of the via-pmu.c driver when
CONFIG_PMAC_PBOOK is not set. Please apply.
Regards,
Ben.
diff -urN for-linus-ppc/drivers/macintosh/via-pmu.c linuxppc-2.5-benh/drivers/macintosh/via-pmu.c
--- for-linus-ppc/drivers/macintosh/via-pmu.c 2003-09-03 16:10:36.000000000 +0200
+++ linuxppc-2.5-benh/drivers/macintosh/via-pmu.c 2003-09-03 18:25:59.000000000 +0200
@@ -1391,10 +1391,10 @@
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-03 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 16:27 [PATCH] PowerMac: Fix build of via-pmu driver with some .config's Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®