commit | 8a246ee43f4b1df3fa5cbf9c4a3d3dcad0b1e08c | [log] [tgz] |
---|---|---|
author | Andrey Borzenkov <arvidjaar@mail.ru> | Wed Nov 14 17:00:37 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Nov 14 18:45:44 2007 -0800 |
tree | ad9027fb48466d7faa6db2849d4538216aa4859a | |
parent | f96159840bc5f605aca5113ab2d24308d3dc2eff [diff] |
make /proc/acpi/ac_adapter dependent on ACPI_PROCFS Do not provide /proc/acpi/ac_adapter if ACPI_PROCFS is not defined. This eliminates duplicated power adapters in HAL and makes it consistent with battery module Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru> Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>