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