[APM] Add shared version of APM emulation
authorRalf Baechle <ralf@linux-mips.org>
Fri, 9 Feb 2007 17:08:57 +0000 (17:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 9 Feb 2007 17:08:57 +0000 (17:08 +0000)
commit7726942fb15edd46e4fe8ab37f9a99795191e585
tree08ce9b114d76f4247b353658bac43b8117609c0f
parent5986a2ec35836a878350c54af4bd91b1de6abc59
[APM] Add shared version of APM emulation

Currently ARM and MIPS both have nearly identical copies of the APM
emulation code in their arch code.  Add yet another copy of it to
drivers char and make it selectable through SYS_SUPPORTS_APM_EMULATION.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/char/Makefile
drivers/char/apm-emulation.c [new file with mode: 0644]
include/linux/apm-emulation.h [new file with mode: 0644]
kernel/power/Kconfig