https://github.com/torvalds/linux
Raw File
Tip revision: 64291f7db5bd8150a74ad2036f1037e6a0428df2 authored by Linus Torvalds on 30 August 2015, 18:34:09 UTC
Linux 4.2
Tip revision: 64291f7
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>

#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