]> err.no Git - linux-2.6/commit
Don't compile the PMU power driver on 64-bit PowerPC
authorPaul Mackerras <paulus@samba.org>
Sun, 22 Jul 2007 00:41:39 +0000 (10:41 +1000)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 23 Jul 2007 11:42:45 +0000 (12:42 +0100)
commita1da5f4f1beb8cae83104a65f36afe527184a4ef
tree902261ca19ab9781fab18c2573828d75e0337dfd
parentf695baf2df9e0413d3521661070103711545207a
Don't compile the PMU power driver on 64-bit PowerPC

As reported by Stephen Rothwell, an allmodconfig build on 64-bit
PowerPC reports these errors:

ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!

This fixes the problem by not building pmu_battery.ko on ppc64.  There
are no battery-powered ppc64 machines with an Apple PMU, and we can be
reasonably confident there never will be.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/power/Kconfig