android_kernel_xiaomi_sm8350/drivers/power
Paul Mackerras a1da5f4f1b 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>
2007-07-23 12:42:45 +01:00
..
apm_power.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
ds2760_battery.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
Kconfig Don't compile the PMU power driver on 64-bit PowerPC 2007-07-23 12:42:45 +01:00
Makefile [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
olpc_battery.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
pda_power.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
pmu_battery.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
power_supply_core.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
power_supply_leds.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
power_supply_sysfs.c Power supply class and drivers: remove non obligatory return statements 2007-07-15 22:32:38 +04:00
power_supply.h