diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/nvhost.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/nvhost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvhost.c b/drivers/gpu/nvgpu/common/linux/nvhost.c index b8e51aac..511cffc4 100644 --- a/drivers/gpu/nvgpu/common/linux/nvhost.c +++ b/drivers/gpu/nvgpu/common/linux/nvhost.c | |||
@@ -24,10 +24,11 @@ | |||
24 | 24 | ||
25 | #include "gk20a/gk20a.h" | 25 | #include "gk20a/gk20a.h" |
26 | #include "os_linux.h" | 26 | #include "os_linux.h" |
27 | #include "module.h" | ||
27 | 28 | ||
28 | int nvgpu_get_nvhost_dev(struct gk20a *g) | 29 | int nvgpu_get_nvhost_dev(struct gk20a *g) |
29 | { | 30 | { |
30 | struct device_node *np = dev_from_gk20a(g)->of_node; | 31 | struct device_node *np = nvgpu_get_node(g); |
31 | struct platform_device *host1x_pdev = NULL; | 32 | struct platform_device *host1x_pdev = NULL; |
32 | const __be32 *host1x_ptr; | 33 | const __be32 *host1x_ptr; |
33 | 34 | ||