Blame view

drivers/acpi/debugfs.c 406 Bytes
a25ee9200   Zhang Rui   ACPI: introduce d...
1
2
3
  /*
   * debugfs.c - ACPI debugfs interface to userspace.
   */
214f2c90b   Paul Gortmaker   acpi: add export....
4
  #include <linux/export.h>
a25ee9200   Zhang Rui   ACPI: introduce d...
5
  #include <linux/init.h>
a25ee9200   Zhang Rui   ACPI: introduce d...
6
7
8
9
10
  #include <linux/debugfs.h>
  #include <acpi/acpi_drivers.h>
  
  #define _COMPONENT		ACPI_SYSTEM_COMPONENT
  ACPI_MODULE_NAME("debugfs");
aecad432f   Thomas Renninger   ACPI: Cleanup cus...
11
  struct dentry *acpi_debugfs_dir;
526b4af47   Thomas Renninger   ACPI: Split out c...
12
  EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
aecad432f   Thomas Renninger   ACPI: Cleanup cus...
13
14
15
16
  
  void __init acpi_debugfs_init(void)
  {
  	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
a25ee9200   Zhang Rui   ACPI: introduce d...
17
  }