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 --- include/linux/gk20a.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/linux/gk20a.h b/include/linux/gk20a.h index 7532d70e..da2e1f22 100644 --- a/include/linux/gk20a.h +++ b/include/linux/gk20a.h @@ -1,7 +1,7 @@ /* * gk20a GPU driver * - * Copyright (c) 2014, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2014-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, @@ -26,11 +26,9 @@ struct platform_device; #ifdef CONFIG_GK20A int nvhost_vpr_info_fetch(void); -void gk20a_debug_dump_device(struct platform_device *pdev); int gk20a_do_idle(void); int gk20a_do_unidle(void); #else -static inline void gk20a_debug_dump_device(struct platform_device *pdev) {} static inline int nvhost_vpr_info_fetch(void) { return -ENOSYS; -- cgit v1.2.2