debugfs.c 422 B

123456789101112131415161718192021
  1. /*
  2. * debugfs.c - ACPI debugfs interface to userspace.
  3. */
  4. #include <linux/export.h>
  5. #include <linux/init.h>
  6. #include <linux/debugfs.h>
  7. #include <linux/acpi.h>
  8. #include "internal.h"
  9. #define _COMPONENT ACPI_SYSTEM_COMPONENT
  10. ACPI_MODULE_NAME("debugfs");
  11. struct dentry *acpi_debugfs_dir;
  12. EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
  13. void __init acpi_debugfs_init(void)
  14. {
  15. acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
  16. }