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