powercap: restrict energy meter to root access
[linux/fpc-iii.git] / drivers / acpi / debugfs.c
blob68bb305b977f9ce481be8d3e95f90ca67922421b
1 /*
2 * debugfs.c - ACPI debugfs interface to userspace.
3 */
5 #include <linux/export.h>
6 #include <linux/init.h>
7 #include <linux/debugfs.h>
8 #include <linux/acpi.h>
10 #include "internal.h"
12 #define _COMPONENT ACPI_SYSTEM_COMPONENT
13 ACPI_MODULE_NAME("debugfs");
15 struct dentry *acpi_debugfs_dir;
16 EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
18 void __init acpi_debugfs_init(void)
20 acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);