gpu: nvgpu: Add forward declaration of nvgpu_sgt

The patch adds a forward declaration of nvgpu_sgt
in nvgpu_mem.h header file to be referred inside
struct nvgpu_sgt_ops. This is to prevent
compilation issue while including this header
elsewhere without explicit forward declaration.

Change-Id: I5cfe5c723e961813425be5301d9bb770bb10c896
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1567713
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Sourab Gupta
2017-09-25 12:19:50 +05:30
committed by mobile promotions
parent e794b02d6a
commit 8d8ae609ad

View File

@@ -34,6 +34,7 @@
struct page;
struct sg_table;
struct nvgpu_sgt;
struct gk20a;
struct nvgpu_allocator;