[PATCH] don't allow PMAC_APM_EMU for 64-bit
Johannes Berg
johannes at sipsolutions.net
Sat Jun 2 19:13:44 EST 2007
In b302887854d6f0c6f9fc3f1080535e7c1bd53134 I switched the apm emulation
code to use the generic code but accidentally dropped the PPC32
dependency from the configuration symbol. This adds it back.
Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
---
Of course, selecting it on 64 bit doesn't make sense (no portables with
64-bit and PMU) and doesn't build either.
--- linux-2.6.orig/drivers/macintosh/Kconfig 2007-06-02 11:11:17.465515541 +0200
+++ linux-2.6/drivers/macintosh/Kconfig 2007-06-02 11:11:24.305515541 +0200
@@ -114,7 +114,7 @@ config PMAC_SMU
config PMAC_APM_EMU
tristate "APM emulation"
select APM_EMULATION
- depends on ADB_PMU && PM
+ depends on ADB_PMU && PM && PPC32
config PMAC_MEDIABAY
bool "Support PowerBook hotswap media bay"
More information about the Linuxppc-dev
mailing list