2019-05-19 20:08:55 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2010-07-15 10:46:15 +08:00
|
|
|
/*
|
|
|
|
* debugfs.c - ACPI debugfs interface to userspace.
|
|
|
|
*/
|
|
|
|
|
2011-10-27 04:22:14 +08:00
|
|
|
#include <linux/export.h>
|
2010-07-15 10:46:15 +08:00
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/debugfs.h>
|
2013-12-03 08:49:16 +08:00
|
|
|
#include <linux/acpi.h>
|
2010-07-15 10:46:15 +08:00
|
|
|
|
2015-08-01 21:32:17 +08:00
|
|
|
#include "internal.h"
|
|
|
|
|
2010-07-15 10:46:15 +08:00
|
|
|
#define _COMPONENT ACPI_SYSTEM_COMPONENT
|
|
|
|
ACPI_MODULE_NAME("debugfs");
|
|
|
|
|
2011-05-26 18:26:23 +08:00
|
|
|
struct dentry *acpi_debugfs_dir;
|
2011-05-26 18:26:24 +08:00
|
|
|
EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
|
2011-05-26 18:26:23 +08:00
|
|
|
|
|
|
|
void __init acpi_debugfs_init(void)
|
|
|
|
{
|
|
|
|
acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
|
2010-07-15 10:46:15 +08:00
|
|
|
}
|