From 973553069dcf4220484e6ea85f35646ab8a12094 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 23 Oct 2017 09:11:51 -0700 Subject: 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 to multiple Linux .c files that were missing it. Change-Id: Iefd52e71224d5810b5abbcc765f92bc535d7a28b Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1591634 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/ioctl_channel.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.h') 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 @@ #ifndef __NVGPU_IOCTL_CHANNEL_H__ #define __NVGPU_IOCTL_CHANNEL_H__ +#include + +struct inode; +struct file; +struct gk20a; +struct nvgpu_channel_open_args; + int gk20a_channel_open(struct inode *inode, struct file *filp); int gk20a_channel_release(struct inode *inode, struct file *filp); long gk20a_channel_ioctl(struct file *filp, -- cgit v1.2.2