Commit ef8ae440 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds

[PATCH] PowerMac: Fix build of via-pmu driver with some .config's

This fixes the build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is
not set.
parent 962fea43
......@@ -1391,10 +1391,10 @@ pmu_handle_data(unsigned char *data, int len, struct pt_regs *regs)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment