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