From 775c69af8cffbd3c11cda027a99ad9d588e09f95 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 24 May 2018 12:39:06 -0700 Subject: gpu: nvgpu: Add types.h to clock gating headers The headers use u32 and bool but do not include . Moving around header includes exposed this issue in the cascade builds. This patch fixes the problem in all clock gating headers to avoid this being a concern in the future. Change-Id: Id56074df393d95bf65baf4062ac811d80d87e96b Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1729748 Reviewed-by: Bo Yan --- drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h') diff --git a/drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h index a29a2b91..09725480 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gp106_gating_reglist.h @@ -23,6 +23,8 @@ #ifndef GP106_GATING_REGLIST_H #define GP106_GATING_REGLIST_H +#include + struct gk20a; void gp106_slcg_bus_load_gating_prod(struct gk20a *g, -- cgit v1.2.2