[PATCH] Don't compile the PMU power driver on 64-bit PowerPC

Stephen Rothwell sfr at canb.auug.org.au
Sun Jul 22 11:55:03 EST 2007


On Sun, 22 Jul 2007 10:46:54 +1000 Paul Mackerras <paulus at samba.org> wrote:
>
> 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 at samba.org>

That fixes it.
Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>
for what its worth :-)

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070722/7db6b004/attachment.pgp>


More information about the Linuxppc-dev mailing list