]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3482f0dc74ec4b06c02495527c90d7ec82942970
tree08ce9b114d76f4247b353658bac43b8117609c0f
parent21ef07f1ddedfe96e3656fb02305f583cc05bc71
[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