From cba424539d39ea184157f80b64938cfa31bc3924 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Sun, 2 Jul 2017 12:30:20 -0700 Subject: gpu: nvgpu: Move dev field from gk20a to nvgpu_os_linux Move field "struct device *dev" from struct gk20a to struct nvgpu_os_linux. The field is valid only for Linux. JIRA NVGPU-38 Change-Id: I09286aa3a9c5a2406e5a27c1fbf21b2c515b4dd4 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master/r/1514162 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 90046232..1ff295c2 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c @@ -23,7 +23,7 @@ #include "gk20a/gk20a.h" #include "gk20a/gr_gk20a.h" -#include "gk20a/platform_gk20a.h" +#include "common/linux/os_linux.h" #include "gr_gm20b.h" #include "pmu_gm20b.h" -- cgit v1.2.2