blob: 074eb98d213ecfb457f58291059fed475ebce8ff [file] [log] [blame]
Thomas Gleixner457c8992019-05-19 13:08:55 +01001// SPDX-License-Identifier: GPL-2.0-only
Zhang Ruia25ee922010-07-15 10:46:15 +08002/*
3 * debugfs.c - ACPI debugfs interface to userspace.
4 */
5
Paul Gortmaker214f2c92011-10-26 16:22:14 -04006#include <linux/export.h>
Zhang Ruia25ee922010-07-15 10:46:15 +08007#include <linux/init.h>
Zhang Ruia25ee922010-07-15 10:46:15 +08008#include <linux/debugfs.h>
Lv Zheng8b484632013-12-03 08:49:16 +08009#include <linux/acpi.h>
Zhang Ruia25ee922010-07-15 10:46:15 +080010
Nicolas Iooss10742612015-08-01 21:32:17 +080011#include "internal.h"
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}