diff --git a/drivers/gpu/nvgpu/common/clock_gating/gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gating_reglist.h index 306387179..a0e924891 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gating_reglist.h @@ -25,6 +25,8 @@ #ifndef GATING_REGLIST_H #define GATING_REGLIST_H +#include + struct gating_desc { u32 addr; u32 prod; @@ -32,4 +34,3 @@ struct gating_desc { }; #endif /* GATING_REGLIST_H */ - diff --git a/drivers/gpu/nvgpu/common/clock_gating/gm20b_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gm20b_gating_reglist.h index 0c8c3b556..30ae41ff5 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gm20b_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gm20b_gating_reglist.h @@ -23,6 +23,8 @@ #ifndef GM20B_GATING_REGLIST_H #define GM20B_GATING_REGLIST_H +#include + struct gk20a; void gm20b_slcg_bus_load_gating_prod(struct gk20a *g, 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 a29a2b91a..097254807 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, diff --git a/drivers/gpu/nvgpu/common/clock_gating/gp10b_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gp10b_gating_reglist.h index 2256ce4a4..30ee149aa 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gp10b_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gp10b_gating_reglist.h @@ -23,6 +23,8 @@ #ifndef GP10B_GATING_REGLIST_H #define GP10B_GATING_REGLIST_H +#include + struct gk20a; void gp10b_slcg_bus_load_gating_prod(struct gk20a *g, diff --git a/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h index 279bc4d22..9419031f9 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gv100_gating_reglist.h @@ -23,6 +23,8 @@ #ifndef GV100_GATING_REGLIST_H #define GV100_GATING_REGLIST_H +#include + struct gk20a; void gv100_slcg_bus_load_gating_prod(struct gk20a *g, diff --git a/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h b/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h index 87a1e5c64..155b6e2e0 100644 --- a/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h +++ b/drivers/gpu/nvgpu/common/clock_gating/gv11b_gating_reglist.h @@ -23,6 +23,8 @@ #ifndef GV11B_GATING_REGLIST_H #define GV11B_GATING_REGLIST_H +#include + struct gk20a; void gv11b_slcg_bus_load_gating_prod(struct gk20a *g,