From 47caf9f7f5119c301c0690595c5e5f7318ddc595 Mon Sep 17 00:00:00 2001 From: Aingara Paramakuru Date: Mon, 6 Oct 2014 21:10:10 -0400 Subject: gpu: nvgpu: vgpu: fix build break Switch struct definitions to use nvgpu version instead of nvhost one. Bug 1509608 Change-Id: Id8c1b0c198536766f0399437bdf2c35c6a6bfe85 Signed-off-by: Aingara Paramakuru Reviewed-on: http://git-master/r/554027 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/vgpu/vgpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c') diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index cfe307ff..84fd6d18 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c @@ -209,7 +209,7 @@ int vgpu_pm_prepare_poweroff(struct device *dev) static void vgpu_detect_chip(struct gk20a *g) { - struct nvhost_gpu_characteristics *gpu = &g->gpu_characteristics; + struct nvgpu_gpu_characteristics *gpu = &g->gpu_characteristics; struct gk20a_platform *platform = gk20a_get_platform(g->dev); u32 mc_boot_0_value; @@ -222,7 +222,7 @@ static void vgpu_detect_chip(struct gk20a *g) } gpu->arch = mc_boot_0_architecture_v(mc_boot_0_value) << - NVHOST_GPU_ARCHITECTURE_SHIFT; + NVGPU_GPU_ARCHITECTURE_SHIFT; gpu->impl = mc_boot_0_implementation_v(mc_boot_0_value); gpu->rev = (mc_boot_0_major_revision_v(mc_boot_0_value) << 4) | -- cgit v1.2.2