diff options
Diffstat (limited to 'nvdebug_entry.c')
| -rw-r--r-- | nvdebug_entry.c | 2 |
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 | ||
| 49 | struct nvdebug_state g_nvdebug_state[NVDEBUG_MAX_DEVICES]; | 49 | struct nvdebug_state g_nvdebug_state[NVDEBUG_MAX_DEVICES]; |
| 50 | unsigned int g_nvdebug_devices = 0; | 50 | unsigned int g_nvdebug_devices = 0; |
| 51 | // Bus types are global symbols in the kernel | ||
| 52 | extern 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 |
