diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c index 3b9d63e8..4d796f67 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -20,7 +20,6 @@ | |||
20 | #include "common/linux/os_linux.h" | 20 | #include "common/linux/os_linux.h" |
21 | 21 | ||
22 | #include <nvgpu/nvhost.h> | 22 | #include <nvgpu/nvhost.h> |
23 | #include <nvgpu/nvhost_t19x.h> | ||
24 | 23 | ||
25 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
26 | 25 | ||
@@ -44,12 +43,12 @@ static int gv11b_vgpu_probe(struct device *dev) | |||
44 | dev_err(dev, "failed to map usermode regs\n"); | 43 | dev_err(dev, "failed to map usermode regs\n"); |
45 | return PTR_ERR(regs); | 44 | return PTR_ERR(regs); |
46 | } | 45 | } |
47 | l->t19x.usermode_regs = regs; | 46 | l->usermode_regs = regs; |
48 | 47 | ||
49 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 48 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
50 | ret = nvgpu_get_nvhost_dev(g); | 49 | ret = nvgpu_get_nvhost_dev(g); |
51 | if (ret) { | 50 | if (ret) { |
52 | l->t19x.usermode_regs = NULL; | 51 | l->usermode_regs = NULL; |
53 | return ret; | 52 | return ret; |
54 | } | 53 | } |
55 | 54 | ||