aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvdebug_entry.c')
-rw-r--r--nvdebug_entry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nvdebug_entry.c b/nvdebug_entry.c
index c0cfa63..8293fdc 100644
--- a/nvdebug_entry.c
+++ b/nvdebug_entry.c
@@ -48,8 +48,6 @@ extern struct file_operations copy_topology_file_ops;
48 48
49struct nvdebug_state g_nvdebug_state[NVDEBUG_MAX_DEVICES]; 49struct nvdebug_state g_nvdebug_state[NVDEBUG_MAX_DEVICES];
50unsigned int g_nvdebug_devices = 0; 50unsigned int g_nvdebug_devices = 0;
51// Bus types are global symbols in the kernel
52extern struct bus_type platform_bus_type;
53 51
54// Starting in Kernel 5.6, proc_ops is required instead of file_operations. 52// Starting in Kernel 5.6, proc_ops is required instead of file_operations.
55// As file_operations is larger than proc_ops, we can overwrite the memory 53// As file_operations is larger than proc_ops, we can overwrite the memory