make /proc/acpi/ac_adapter dependent on ACPI_PROCFS
authorAndrey Borzenkov <arvidjaar@mail.ru>
Thu, 15 Nov 2007 01:00:37 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (18:45 -0800)
commit8a246ee43f4b1df3fa5cbf9c4a3d3dcad0b1e08c
treead9027fb48466d7faa6db2849d4538216aa4859a
parentf96159840bc5f605aca5113ab2d24308d3dc2eff
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>
drivers/acpi/ac.c