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