blob: b55d6a20dc0eda9a78419f29bb8eb229cc157930 [file] [log] [blame]
Zhang Ruia25ee922010-07-15 10:46:15 +08001/*
2 * debugfs.c - ACPI debugfs interface to userspace.
3 */
4
Paul Gortmaker214f2c92011-10-26 16:22:14 -04005#include <linux/export.h>
Zhang Ruia25ee922010-07-15 10:46:15 +08006#include <linux/init.h>
Zhang Ruia25ee922010-07-15 10:46:15 +08007#include <linux/debugfs.h>
8#include <acpi/acpi_drivers.h>
9
10#define _COMPONENT ACPI_SYSTEM_COMPONENT
11ACPI_MODULE_NAME("debugfs");
12
Thomas Renningeraecad4322011-05-26 12:26:23 +020013struct dentry *acpi_debugfs_dir;
Thomas Renninger526b4af2011-05-26 12:26:24 +020014EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
Zhang Ruia25ee922010-07-15 10:46:15 +080015
Thomas Renningeraecad4322011-05-26 12:26:23 +020016void __init acpi_debugfs_init(void)
17{
18 acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
Zhang Ruia25ee922010-07-15 10:46:15 +080019}