Thomas Gleixner | 457c899 | 2019-05-19 13:08:55 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 2 | /* |
3 | * debugfs.c - ACPI debugfs interface to userspace. | ||||
4 | */ | ||||
5 | |||||
Paul Gortmaker | 214f2c9 | 2011-10-26 16:22:14 -0400 | [diff] [blame] | 6 | #include <linux/export.h> |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 7 | #include <linux/init.h> |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 8 | #include <linux/debugfs.h> |
Lv Zheng | 8b48463 | 2013-12-03 08:49:16 +0800 | [diff] [blame] | 9 | #include <linux/acpi.h> |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 10 | |
Nicolas Iooss | 1074261 | 2015-08-01 21:32:17 +0800 | [diff] [blame] | 11 | #include "internal.h" |
12 | |||||
Thomas Renninger | aecad43 | 2011-05-26 12:26:23 +0200 | [diff] [blame] | 13 | struct dentry *acpi_debugfs_dir; |
Thomas Renninger | 526b4af | 2011-05-26 12:26:24 +0200 | [diff] [blame] | 14 | EXPORT_SYMBOL_GPL(acpi_debugfs_dir); |
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 15 | |
Thomas Renninger | aecad43 | 2011-05-26 12:26:23 +0200 | [diff] [blame] | 16 | void __init acpi_debugfs_init(void) |
17 | { | ||||
18 | acpi_debugfs_dir = debugfs_create_dir("acpi", NULL); | ||||
Zhang Rui | a25ee92 | 2010-07-15 10:46:15 +0800 | [diff] [blame] | 19 | } |