From fce01666d57c9c76c21d4ac31adc225a2a6c2e42 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 30 Mar 2016 14:03:35 -0700 Subject: gpu: nvgpu: Use device instead of platform_device Use struct device instead of struct platform_device wherever possible. This allows adding other bus types later. Change-Id: I90623c020919ca8e2e5b31d53914c324d2dc6af9 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1120464 --- drivers/gpu/nvgpu/gp10b/cde_gp10b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gp10b/cde_gp10b.c') diff --git a/drivers/gpu/nvgpu/gp10b/cde_gp10b.c b/drivers/gpu/nvgpu/gp10b/cde_gp10b.c index dadec4d2..4a16abd1 100644 --- a/drivers/gpu/nvgpu/gp10b/cde_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/cde_gp10b.c @@ -1,7 +1,7 @@ /* * GP10B CDE * - * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -46,7 +46,7 @@ static void gp10b_cde_get_program_numbers(struct gk20a *g, } if (g->mm.bypass_smmu) { if (!g->mm.disable_bigpage) { - gk20a_warn(&g->dev->dev, + gk20a_warn(g->dev, "when bypass_smmu is 1, disable_bigpage must be 1 too"); } hprog |= 1; -- cgit v1.2.2