diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 17:47:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-13 11:56:06 -0400 |
commit | a0fa2b0258dafcd7a2450ab5366a49663b1d2e89 (patch) | |
tree | 95f1023fbd36209f6cc07341ce708049e75474d6 /drivers/gpu/nvgpu/gp106 | |
parent | 7ef1eb8a10e507d8ba3b92e24472c06500fd5f36 (diff) |
gpu: nvgpu: Add wrapper nvgpu/bug.h
Add wrapper header file nvgpu/bug.h. It #includes <linux/bug.h>
in Linux.
JIRA NVGPU-13
Change-Id: I7bf02ba554333f7cbd79d72bd1cb423c81ebcb49
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1461545
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp106/xve_gp106.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index e8ea2e8d..cdd1aade 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -51,6 +51,8 @@ | |||
51 | #include "gp106/fb_gp106.h" | 51 | #include "gp106/fb_gp106.h" |
52 | #include "gp106/gp106_gating_reglist.h" | 52 | #include "gp106/gp106_gating_reglist.h" |
53 | 53 | ||
54 | #include <nvgpu/bug.h> | ||
55 | |||
54 | #include <nvgpu/hw/gp106/hw_proj_gp106.h> | 56 | #include <nvgpu/hw/gp106/hw_proj_gp106.h> |
55 | 57 | ||
56 | static struct gpu_ops gp106_ops = { | 58 | static struct gpu_ops gp106_ops = { |
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.c b/drivers/gpu/nvgpu/gp106/xve_gp106.c index b47097e2..e4582e15 100644 --- a/drivers/gpu/nvgpu/gp106/xve_gp106.c +++ b/drivers/gpu/nvgpu/gp106/xve_gp106.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include "gm206/bios_gm206.h" | 22 | #include "gm206/bios_gm206.h" |
23 | #include "gp106/xve_gp106.h" | 23 | #include "gp106/xve_gp106.h" |
24 | 24 | ||
25 | #include <nvgpu/bug.h> | ||
26 | |||
25 | #include <nvgpu/hw/gp106/hw_xp_gp106.h> | 27 | #include <nvgpu/hw/gp106/hw_xp_gp106.h> |
26 | #include <nvgpu/hw/gp106/hw_xve_gp106.h> | 28 | #include <nvgpu/hw/gp106/hw_xve_gp106.h> |
27 | 29 | ||