aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug.h
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2023-10-29 13:25:28 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2023-10-29 13:25:28 -0400
commite718d7228983a3d033523fbf0d5fc06f37bca603 (patch)
treee5665c47c24f7fdaa0eeacaec13b4ec54ae4a103 /nvdebug.h
parent2c5337a24f7f2d02989dfb733c55d6d8c7e90493 (diff)
Include <linux/seq_file.h> in nvdebug.h and sort includes
Fixes the build for some kernel versions where this is no longer transatively included.
Diffstat (limited to 'nvdebug.h')
-rw-r--r--nvdebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nvdebug.h b/nvdebug.h
index e5b6564..3860c2e 100644
--- a/nvdebug.h
+++ b/nvdebug.h
@@ -9,8 +9,9 @@
9 * - Helper functions for nvdebug 9 * - Helper functions for nvdebug
10 */ 10 */
11 11
12#include <linux/proc_fs.h> // For PDE_DATA() macro
13#include <linux/device.h> // For dev_get_drvdata() 12#include <linux/device.h> // For dev_get_drvdata()
13#include <linux/seq_file.h> // For struct seq_file
14#include <linux/proc_fs.h> // For PDE_DATA() macro
14#include <linux/version.h> // For KERNEL_VERSION and LINUX_VERSION_CODE 15#include <linux/version.h> // For KERNEL_VERSION and LINUX_VERSION_CODE
15#include <asm/io.h> 16#include <asm/io.h>
16 17