diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_linux.h')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/os_linux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_linux.h b/drivers/gpu/nvgpu/os/linux/os_linux.h index d4b5a770..5880384a 100644 --- a/drivers/gpu/nvgpu/os/linux/os_linux.h +++ b/drivers/gpu/nvgpu/os/linux/os_linux.h | |||
@@ -65,6 +65,10 @@ struct nvgpu_os_linux { | |||
65 | struct { | 65 | struct { |
66 | struct cdev cdev; | 66 | struct cdev cdev; |
67 | struct device *node; | 67 | struct device *node; |
68 | /* see gk20a_ctrl_priv */ | ||
69 | struct nvgpu_list_node privs; | ||
70 | /* guards modifications to the list and its contents */ | ||
71 | struct nvgpu_mutex privs_lock; | ||
68 | } ctrl; | 72 | } ctrl; |
69 | 73 | ||
70 | struct { | 74 | struct { |