diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-23 12:11:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-06 19:29:31 -0500 |
commit | 973553069dcf4220484e6ea85f35646ab8a12094 (patch) | |
tree | 32ff42048809045ccb4afbb8a32a00356c0d4a6f /drivers/gpu/nvgpu/common/linux/ioctl_channel.h | |
parent | 5fb2804d189397d092e36ef8ce4a38afcad40c93 (diff) |
gpu: nvgpu: Fix missing #includes and fw decls in Linux code
ioctl_channel.h and cde.h referred to multiple structures that were
not forward declared or explitly #included in. Add several forward
declarations and #includes. Also add #include for
<uapi/linux/nvgpu.h> to multiple Linux .c files that were missing it.
Change-Id: Iefd52e71224d5810b5abbcc765f92bc535d7a28b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1591634
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_channel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.h b/drivers/gpu/nvgpu/common/linux/ioctl_channel.h index 8cfce7e1..c3cd11c7 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.h +++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.h | |||
@@ -13,6 +13,13 @@ | |||
13 | #ifndef __NVGPU_IOCTL_CHANNEL_H__ | 13 | #ifndef __NVGPU_IOCTL_CHANNEL_H__ |
14 | #define __NVGPU_IOCTL_CHANNEL_H__ | 14 | #define __NVGPU_IOCTL_CHANNEL_H__ |
15 | 15 | ||
16 | #include <linux/fs.h> | ||
17 | |||
18 | struct inode; | ||
19 | struct file; | ||
20 | struct gk20a; | ||
21 | struct nvgpu_channel_open_args; | ||
22 | |||
16 | int gk20a_channel_open(struct inode *inode, struct file *filp); | 23 | int gk20a_channel_open(struct inode *inode, struct file *filp); |
17 | int gk20a_channel_release(struct inode *inode, struct file *filp); | 24 | int gk20a_channel_release(struct inode *inode, struct file *filp); |
18 | long gk20a_channel_ioctl(struct file *filp, | 25 | long gk20a_channel_ioctl(struct file *filp, |