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