From 7f7bf15564ad6a1198807e10bab156337f9dde9b Mon Sep 17 00:00:00 2001 From: David Nieto Date: Mon, 17 Oct 2016 13:39:56 -0700 Subject: gpu: nvgpu: fix sparse warning in LTC code bug 200088648 sparse warning reported that the function was not defined. This was due to a missing include Change-Id: Ia6153a2f3348a86e78add95bcfff998505b47cdd Signed-off-by: David Nieto Reviewed-on: http://git-master/r/1237845 Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp106/ltc_gp106.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/gp106/ltc_gp106.c b/drivers/gpu/nvgpu/gp106/ltc_gp106.c index dcd4fbad..b162ddb3 100644 --- a/drivers/gpu/nvgpu/gp106/ltc_gp106.c +++ b/drivers/gpu/nvgpu/gp106/ltc_gp106.c @@ -16,6 +16,7 @@ #include "gk20a/gk20a.h" #include "gm20b/ltc_gm20b.h" #include "gp10b/ltc_gp10b.h" +#include "gp106/ltc_gp106.h" void gp106_init_ltc(struct gpu_ops *gops) { -- cgit v1.2.2