https://github.com/torvalds/linux
Raw File
Tip revision: 40e020c129cfc991e8ab4736d2665351ffd1468d authored by Linus Torvalds on 09 December 2018, 23:31:00 UTC
Linux 4.20-rc6
Tip revision: 40e020c
debugfs.c
/*
 * debugfs.c - ACPI debugfs interface to userspace.
 */

#include <linux/export.h>
#include <linux/init.h>
#include <linux/debugfs.h>
#include <linux/acpi.h>

#include "internal.h"

#define _COMPONENT		ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME("debugfs");

struct dentry *acpi_debugfs_dir;
EXPORT_SYMBOL_GPL(acpi_debugfs_dir);

void __init acpi_debugfs_init(void)
{
	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
}
back to top