aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-07-14 22:46:15 -0400
committerLen Brown <len.brown@intel.com>2010-08-14 23:02:00 -0400
commita25ee9200eef07377e1703697afbb5d81f89e500 (patch)
treeefecbc42b6a600ee17c81951834d88f1ad0566e3 /drivers/acpi/bus.c
parent9fe6206f400646a2322096b56c59891d530e8d51 (diff)
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>
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r--drivers/acpi/bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index c1d23cd71652..7136f24e3002 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -1036,6 +1036,7 @@ static int __init acpi_init(void)
1036 acpi_power_init(); 1036 acpi_power_init();
1037 acpi_system_init(); 1037 acpi_system_init();
1038 acpi_debug_init(); 1038 acpi_debug_init();
1039 acpi_debugfs_init();
1039 acpi_sleep_proc_init(); 1040 acpi_sleep_proc_init();
1040 acpi_wakeup_device_init(); 1041 acpi_wakeup_device_init();
1041 return result; 1042 return result;