gpu: nvgpu: Add types.h to clock gating headers

The headers use u32 and bool but do not include <nvgpu/types.h>.
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 <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1729748
Reviewed-by: Bo Yan <byan@nvidia.com>
This commit is contained in:
Alex Waterman
2018-05-24 12:39:06 -07:00
committed by Bo Yan
parent ffb5cd7fdd
commit 775c69af8c
6 changed files with 12 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
#ifndef GATING_REGLIST_H
#define GATING_REGLIST_H
#include <nvgpu/types.h>
struct gating_desc {
u32 addr;
u32 prod;
@@ -32,4 +34,3 @@ struct gating_desc {
};
#endif /* GATING_REGLIST_H */

View File

@@ -23,6 +23,8 @@
#ifndef GM20B_GATING_REGLIST_H
#define GM20B_GATING_REGLIST_H
#include <nvgpu/types.h>
struct gk20a;
void gm20b_slcg_bus_load_gating_prod(struct gk20a *g,

View File

@@ -23,6 +23,8 @@
#ifndef GP106_GATING_REGLIST_H
#define GP106_GATING_REGLIST_H
#include <nvgpu/types.h>
struct gk20a;
void gp106_slcg_bus_load_gating_prod(struct gk20a *g,

View File

@@ -23,6 +23,8 @@
#ifndef GP10B_GATING_REGLIST_H
#define GP10B_GATING_REGLIST_H
#include <nvgpu/types.h>
struct gk20a;
void gp10b_slcg_bus_load_gating_prod(struct gk20a *g,

View File

@@ -23,6 +23,8 @@
#ifndef GV100_GATING_REGLIST_H
#define GV100_GATING_REGLIST_H
#include <nvgpu/types.h>
struct gk20a;
void gv100_slcg_bus_load_gating_prod(struct gk20a *g,

View File

@@ -23,6 +23,8 @@
#ifndef GV11B_GATING_REGLIST_H
#define GV11B_GATING_REGLIST_H
#include <nvgpu/types.h>
struct gk20a;
void gv11b_slcg_bus_load_gating_prod(struct gk20a *g,