proc: Supply a function to remove a proc entry by PDE
[linux-2.6.git] / drivers / acpi / debugfs.c
blobb55d6a20dc0eda9a78419f29bb8eb229cc157930
1 /*
2 * debugfs.c - ACPI debugfs interface to userspace.
3 */
5 #include <linux/export.h>
6 #include <linux/init.h>
7 #include <linux/debugfs.h>
8 #include <acpi/acpi_drivers.h>
10 #define _COMPONENT ACPI_SYSTEM_COMPONENT
11 ACPI_MODULE_NAME("debugfs");
13 struct dentry *acpi_debugfs_dir;
14 EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
16 void __init acpi_debugfs_init(void)
18 acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);