| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 <acpi/acpi_drivers.h> | ||||
| 9 | |||||
| 10 | #define _COMPONENT ACPI_SYSTEM_COMPONENT | ||||
| 11 | ACPI_MODULE_NAME("debugfs"); | ||||
| 12 | |||||
| 13 | struct dentry *acpi_debugfs_dir; | ||||
| 14 | EXPORT_SYMBOL_GPL(acpi_debugfs_dir); | ||||
| 15 | |||||
| 16 | void __init acpi_debugfs_init(void) | ||||
| 17 | { | ||||
| 18 | acpi_debugfs_dir = debugfs_create_dir("acpi", NULL); | ||||
| 19 | } | ||||