blob: 6b1919f6bd8212248f8a7399c21f73b1303a254e [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>
Lv Zheng8b484632013-12-03 08:49:16 +08008#include <linux/acpi.h>
Zhang Ruia25ee922010-07-15 10:46:15 +08009
10#define _COMPONENT ACPI_SYSTEM_COMPONENT
11ACPI_MODULE_NAME("debugfs");
12
Thomas Renningeraecad432011-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 Renningeraecad432011-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}