Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 1 | /* |
| 2 | * debugfs.c - ACPI debugfs interface to userspace. |
| 3 | */ |
| 4 | |
| 5 | #include <linux/init.h> |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 6 | #include <linux/debugfs.h> |
| 7 | #include <acpi/acpi_drivers.h> |
| 8 | |
| 9 | #define _COMPONENT ACPI_SYSTEM_COMPONENT |
| 10 | ACPI_MODULE_NAME("debugfs"); |
| 11 | |
Thomas Renninger | aecad43 | 2011-05-26 12:26:23 +0200 | [diff] [blame] | 12 | struct dentry *acpi_debugfs_dir; |
Thomas Renninger | 526b4af | 2011-05-26 12:26:24 +0200 | [diff] [blame] | 13 | EXPORT_SYMBOL_GPL(acpi_debugfs_dir); |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 14 | |
Thomas Renninger | aecad43 | 2011-05-26 12:26:23 +0200 | [diff] [blame] | 15 | void __init acpi_debugfs_init(void) |
| 16 | { |
| 17 | acpi_debugfs_dir = debugfs_create_dir("acpi", NULL); |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 18 | } |