Skip to content

Commit

Permalink
[POWERPC] apm_emu: Use generic apm-emulation
Browse files Browse the repository at this point in the history
This patch removes a huge amount of code that is now in common code
in drivers/char/apm-emulation.c

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed May 2, 2007
1 parent 6bfeccd commit b302887
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 478 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ config GENERIC_BUG
default y
depends on BUG

config SYS_SUPPORTS_APM_EMULATION
bool

config DEFAULT_UIMAGE
bool
help
Expand Down
4 changes: 3 additions & 1 deletion drivers/macintosh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ config PMAC_SMU

config PMAC_APM_EMU
tristate "APM emulation"
depends on PPC_PMAC && PPC32 && PM && ADB_PMU
select SYS_SUPPORTS_APM_EMULATION
select APM_EMULATION
depends on ADB_PMU && PM

config PMAC_MEDIABAY
bool "Support PowerBook hotswap media bay"
Expand Down
Loading

0 comments on commit b302887

Please sign in to comment.