blob: 68bb305b977f9ce481be8d3e95f90ca67922421b [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
Nicolas Iooss10742612015-08-01 21:32:17 +080010#include "internal.h"
11
Zhang Ruia25ee922010-07-15 10:46:15 +080012#define _COMPONENT ACPI_SYSTEM_COMPONENT
13ACPI_MODULE_NAME("debugfs");
14
Thomas Renningeraecad4322011-05-26 12:26:23 +020015struct dentry *acpi_debugfs_dir;
Thomas Renninger526b4af2011-05-26 12:26:24 +020016EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
Zhang Ruia25ee922010-07-15 10:46:15 +080017
Thomas Renningeraecad4322011-05-26 12:26:23 +020018void __init acpi_debugfs_init(void)
19{
20 acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
Zhang Ruia25ee922010-07-15 10:46:15 +080021}