PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/acpi/debugfs.c

http://github.com/mirrors/linux
C | 22 lines | 13 code | 5 blank | 4 comment | 0 complexity | 46eb3837ff4a8de3bfc87a432a391794 MD5 | raw file
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * debugfs.c - ACPI debugfs interface to userspace.
 4 */
 5
 6#include <linux/export.h>
 7#include <linux/init.h>
 8#include <linux/debugfs.h>
 9#include <linux/acpi.h>
10
11#include "internal.h"
12
13#define _COMPONENT		ACPI_SYSTEM_COMPONENT
14ACPI_MODULE_NAME("debugfs");
15
16struct dentry *acpi_debugfs_dir;
17EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
18
19void __init acpi_debugfs_init(void)
20{
21	acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);
22}