David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | } |