From e8f2e3d5147ee190cd6ebfa19de176bbb9db4986 Mon Sep 17 00:00:00 2001 From: Vedashree Vidwans Date: Wed, 1 Jul 2020 12:06:03 -0700 Subject: [PATCH] gpu: nvgpu: add nvgpu-next sim function prototypes Add nvgpu-next sim function prototypes. This resolves qnx and userspace build errors. JIRA NVGPU-5363 Change-Id: I7b20917ec73b2ca3a1514872620266bb7a54097c Signed-off-by: Vedashree Vidwans Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2369657 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/sim.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/nvgpu/include/nvgpu/sim.h b/drivers/gpu/nvgpu/include/nvgpu/sim.h index ed83a0838..0bdc5009f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/sim.h +++ b/drivers/gpu/nvgpu/include/nvgpu/sim.h @@ -26,6 +26,11 @@ #include #include +/** @cond DOXYGEN_SHOULD_SKIP_THIS */ +#if defined(CONFIG_NVGPU_NON_FUSA) && defined(CONFIG_NVGPU_NEXT) +#include +#endif +/** @endcond DOXYGEN_SHOULD_SKIP_THIS */ struct sim_nvgpu { struct gk20a *g;