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