ACPI: introduce drivers/acpi/debugfs.c
authorZhang Rui <rui.zhang@intel.com>
Thu, 15 Jul 2010 02:46:15 +0000 (10:46 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 15 Aug 2010 03:02:00 +0000 (23:02 -0400)
commita25ee9200eef07377e1703697afbb5d81f89e500
treeefecbc42b6a600ee17c81951834d88f1ad0566e3
parent9fe6206f400646a2322096b56c59891d530e8d51
ACPI: introduce drivers/acpi/debugfs.c

Introduce drivers/acpi/debugfs.c.

Code for ACPI debugfs I/F,
i.e. /sys/kernel/debug/acpi/custom_method,
is moved to this file.

And make ACPI debugfs always built in,
even if CONFIG_ACPI_DEBUG is cleared.

BTW:this adds about 400bytes code to ACPI, when
CONFIG_ACPI_DEBUG is cleared.

[uaccess.h build fix from Andrew Morton <akpm@linux-foundation.org>]

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Makefile
drivers/acpi/bus.c
drivers/acpi/debug.c
drivers/acpi/debugfs.c [new file with mode: 0644]
drivers/acpi/internal.h