Blame view

drivers/acpi/debugfs.c 463 Bytes
457c89965   Thomas Gleixner   treewide: Add SPD...
1
  // SPDX-License-Identifier: GPL-2.0-only
a25ee9200   Zhang Rui   ACPI: introduce d...
2
3
4
  /*
   * debugfs.c - ACPI debugfs interface to userspace.
   */
214f2c90b   Paul Gortmaker   acpi: add export....
5
  #include <linux/export.h>
a25ee9200   Zhang Rui   ACPI: introduce d...
6
  #include <linux/init.h>
a25ee9200   Zhang Rui   ACPI: introduce d...
7
  #include <linux/debugfs.h>
8b48463f8   Lv Zheng   ACPI: Clean up in...
8
  #include <linux/acpi.h>
a25ee9200   Zhang Rui   ACPI: introduce d...
9

10742619a   Nicolas Iooss   ACPI: fix acpi_de...
10
  #include "internal.h"
a25ee9200   Zhang Rui   ACPI: introduce d...
11
12
  #define _COMPONENT		ACPI_SYSTEM_COMPONENT
  ACPI_MODULE_NAME("debugfs");
aecad432f   Thomas Renninger   ACPI: Cleanup cus...
13
  struct dentry *acpi_debugfs_dir;
526b4af47   Thomas Renninger   ACPI: Split out c...
14
  EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
aecad432f   Thomas Renninger   ACPI: Cleanup cus...
15
16
17
18
  
  void __init acpi_debugfs_init(void)
  {
  	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
a25ee9200   Zhang Rui   ACPI: introduce d...
19
  }