PowerMac: Fix build of via-pmu driver with some .config's
PATCH 1/1 PowerMac: Fix build of via-pmu driver with some .config's
Hi Linus !
This patch fixes build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is not set. Please apply.
Regards,
Ben.
drivers/macintosh/via-pmu.c +2 -2
@@ -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; }