xref: /openbmc/linux/drivers/acpi/debugfs.c (revision d0611c6e)
1457c8996SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
2a25ee920SZhang Rui /*
3a25ee920SZhang Rui  * debugfs.c - ACPI debugfs interface to userspace.
4a25ee920SZhang Rui  */
5a25ee920SZhang Rui 
6214f2c90SPaul Gortmaker #include <linux/export.h>
7a25ee920SZhang Rui #include <linux/init.h>
8a25ee920SZhang Rui #include <linux/debugfs.h>
98b48463fSLv Zheng #include <linux/acpi.h>
10a25ee920SZhang Rui 
1110742619SNicolas Iooss #include "internal.h"
1210742619SNicolas Iooss 
13aecad432SThomas Renninger struct dentry *acpi_debugfs_dir;
14526b4af4SThomas Renninger EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
15a25ee920SZhang Rui 
acpi_debugfs_init(void)16aecad432SThomas Renninger void __init acpi_debugfs_init(void)
17aecad432SThomas Renninger {
18aecad432SThomas Renninger 	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
19a25ee920SZhang Rui }
20