2010-07-15 10:46:15 +08:00
|
|
|
/*
|
|
|
|
* debugfs.c - ACPI debugfs interface to userspace.
|
|
|
|
*/
|
|
|
|
|
2011-10-27 04:22:14 +08:00
|
|
|
#include <linux/export.h>
|
2010-07-15 10:46:15 +08:00
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/debugfs.h>
|
|
|
|
#include <acpi/acpi_drivers.h>
|
|
|
|
|
|
|
|
#define _COMPONENT ACPI_SYSTEM_COMPONENT
|
|
|
|
ACPI_MODULE_NAME("debugfs");
|
|
|
|
|
2011-05-26 18:26:23 +08:00
|
|
|
struct dentry *acpi_debugfs_dir;
|
2011-05-26 18:26:24 +08:00
|
|
|
EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
|
2011-05-26 18:26:23 +08:00
|
|
|
|
|
|
|
void __init acpi_debugfs_init(void)
|
|
|
|
{
|
|
|
|
acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
|
2010-07-15 10:46:15 +08:00
|
|
|
}
|