[POWERPC] Fix Kconfig warning
authorKumar Gala <galak@kernel.crashing.org>
Wed, 23 May 2007 14:51:46 +0000 (09:51 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 23 May 2007 14:51:46 +0000 (09:51 -0500)
Fix config warning related to select usage:

drivers/macintosh/Kconfig:117:warning: 'select' used by config symbol 'PMAC_APM_EMU' refers to undefined symbol 'SYS_SUPPORTS_APM_EMULATION'

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/Kconfig
drivers/macintosh/Kconfig

index 56d3c0dcd2b802f8c5f4a4dd2847c15f8f0ca864..5eaeafd30bdfe2710b7e35f325fee9692b751d44 100644 (file)
@@ -118,6 +118,7 @@ config GENERIC_BUG
        depends on BUG
 
 config SYS_SUPPORTS_APM_EMULATION
+       default y if PMAC_APM_EMU
        bool
 
 config DEFAULT_UIMAGE
index 58926da0ae18c48a977b38fd6d9c67fe879ba805..f44c94abd883f9b8731df64f1e0e37ce39766ee8 100644 (file)
@@ -113,7 +113,6 @@ config PMAC_SMU
 
 config PMAC_APM_EMU
        tristate "APM emulation"
-       select SYS_SUPPORTS_APM_EMULATION
        select APM_EMULATION
        depends on ADB_PMU && PM