diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-03-30 17:03:35 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:11 -0500 |
commit | fce01666d57c9c76c21d4ac31adc225a2a6c2e42 (patch) | |
tree | ebddef3f3e9ed0c04535535c793c44132ea847e7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |
parent | bd688d31ce7df4a2d9134a521fa4c4f5eba06c2d (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: I90623c020919ca8e2e5b31d53914c324d2dc6af9
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1120464
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h index bd4b5879..25509d50 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GM20B GPU GR | 2 | * GP10B GPU GR |
3 | * | 3 | * |
4 | * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-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, |
@@ -35,7 +35,7 @@ enum { | |||
35 | void gp10b_init_gr(struct gpu_ops *ops); | 35 | void gp10b_init_gr(struct gpu_ops *ops); |
36 | int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, | 36 | int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, |
37 | struct mem_desc *mem); | 37 | struct mem_desc *mem); |
38 | void gr_gp10b_create_sysfs(struct platform_device *dev); | 38 | void gr_gp10b_create_sysfs(struct device *dev); |
39 | 39 | ||
40 | struct ecc_stat { | 40 | struct ecc_stat { |
41 | char **names; | 41 | char **names; |