summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-03-29 19:02:34 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-08 12:42:41 -0400
commite8bac374c0ed24f05bf389e1e8b5aca47f61bd3a (patch)
tree36b6e111f8706c0560ee552bc9d6e15b87fc9621 /include
parent2382a8433fddaee3baecff6ae941944850787ab7 (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1120466
Diffstat (limited to 'include')
-rw-r--r--include/linux/gk20a.h4
1 files changed, 1 insertions, 3 deletions
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 @@
1/* 1/*
2 * gk20a GPU driver 2 * gk20a GPU driver
3 * 3 *
4 * Copyright (c) 2014, NVIDIA Corporation. All rights reserved. 4 * Copyright (c) 2014-2016, NVIDIA Corporation. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -26,11 +26,9 @@ struct platform_device;
26 26
27#ifdef CONFIG_GK20A 27#ifdef CONFIG_GK20A
28int nvhost_vpr_info_fetch(void); 28int nvhost_vpr_info_fetch(void);
29void gk20a_debug_dump_device(struct platform_device *pdev);
30int gk20a_do_idle(void); 29int gk20a_do_idle(void);
31int gk20a_do_unidle(void); 30int gk20a_do_unidle(void);
32#else 31#else
33static inline void gk20a_debug_dump_device(struct platform_device *pdev) {}
34static inline int nvhost_vpr_info_fetch(void) 32static inline int nvhost_vpr_info_fetch(void)
35{ 33{
36 return -ENOSYS; 34 return -ENOSYS;