From e8bac374c0ed24f05bf389e1e8b5aca47f61bd3a Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 29 Mar 2016 16:02:34 -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: I1657287a68d85a542cdbdd8a00d1902c3d6e00ed Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1120466 --- drivers/gpu/nvgpu/gk20a/debug_gk20a.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/debug_gk20a.h b/drivers/gpu/nvgpu/gk20a/debug_gk20a.h index 620688cb..1044f881 100644 --- a/drivers/gpu/nvgpu/gk20a/debug_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/debug_gk20a.h @@ -1,7 +1,7 @@ /* * GK20A Debug functionality * - * Copyright (C) 2011-2015 NVIDIA CORPORATION. All rights reserved. + * Copyright (C) 2011-2016 NVIDIA CORPORATION. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -32,10 +32,10 @@ struct gk20a_debug_output { void gk20a_debug_output(struct gk20a_debug_output *o, const char *fmt, ...); -void gk20a_debug_dump(struct platform_device *pdev); +void gk20a_debug_dump(struct device *pdev); void gk20a_debug_show_dump(struct gk20a *g, struct gk20a_debug_output *o); -int gk20a_gr_debug_dump(struct platform_device *pdev); -void gk20a_debug_init(struct platform_device *pdev); +int gk20a_gr_debug_dump(struct device *pdev); +void gk20a_debug_init(struct device *dev); void gk20a_init_debug_ops(struct gpu_ops *gops); #endif -- cgit v1.2.2