/* * mods_debugfs.c - This file is part of NVIDIA MODS kernel driver. * * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. * * NVIDIA MODS kernel driver is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * NVIDIA MODS kernel driver is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with NVIDIA MODS kernel driver. * If not, see . */ #include "mods_internal.h" #ifdef MODS_HAS_DEBUGFS #include #include #include #include #include #include static struct dentry *mods_debugfs_dir; #if defined(MODS_TEGRA) && defined(MODS_HAS_KFUSE) #include #endif #ifdef CONFIG_TEGRA_DC #include