xref: /OK3568_Linux_fs/kernel/drivers/acpi/debugfs.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * debugfs.c - ACPI debugfs interface to userspace.
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #include <linux/export.h>
7*4882a593Smuzhiyun #include <linux/init.h>
8*4882a593Smuzhiyun #include <linux/debugfs.h>
9*4882a593Smuzhiyun #include <linux/acpi.h>
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #include "internal.h"
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun struct dentry *acpi_debugfs_dir;
14*4882a593Smuzhiyun EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
15*4882a593Smuzhiyun 
acpi_debugfs_init(void)16*4882a593Smuzhiyun void __init acpi_debugfs_init(void)
17*4882a593Smuzhiyun {
18*4882a593Smuzhiyun 	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
19*4882a593Smuzhiyun }
20