summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/sim_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sim_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/sim_gk20a.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sim_gk20a.c b/drivers/gpu/nvgpu/gk20a/sim_gk20a.c
index 34ca5add..ab064710 100644
--- a/drivers/gpu/nvgpu/gk20a/sim_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/sim_gk20a.c
@@ -28,7 +28,6 @@
28#include <nvgpu/linux/vm.h> 28#include <nvgpu/linux/vm.h>
29 29
30#include "gk20a.h" 30#include "gk20a.h"
31#include "platform_gk20a.h"
32 31
33#include <nvgpu/hw/gk20a/hw_sim_gk20a.h> 32#include <nvgpu/hw/gk20a/hw_sim_gk20a.h>
34 33
@@ -104,11 +103,9 @@ static int alloc_and_kmap_iopage(struct gk20a *g,
104 103
105} 104}
106 105
107int gk20a_init_sim_support(struct platform_device *pdev) 106int gk20a_init_sim_support(struct gk20a *g)
108{ 107{
109 int err = 0; 108 int err = 0;
110 struct device *dev = &pdev->dev;
111 struct gk20a *g = get_gk20a(dev);
112 u64 phys; 109 u64 phys;
113 110
114 /* allocate sim event/msg buffers */ 111 /* allocate sim event/msg buffers */