diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-08-27 07:17:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-31 00:43:01 -0400 |
commit | 79b10cbcf7d1544dd5acfda6ba1ab79c4c855377 (patch) | |
tree | 8de531fb3aee179aae762aa989875edb18432ac7 /drivers/gpu/nvgpu/include | |
parent | 16ef96d4de646a97cee250b1e178f15d5e0909c3 (diff) |
gpu: nvgpu: fix channel include guards
The common channel header was missing include guards, so add them. Also
rename the Linux channel header guard that was in conflict.
Jira NVGPU-967
Change-Id: If782407ef1497202196a362893ef9c1b2330977a
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1807372
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/channel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/channel.h b/drivers/gpu/nvgpu/include/nvgpu/channel.h index 604083d4..7434f0e7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/channel.h +++ b/drivers/gpu/nvgpu/include/nvgpu/channel.h | |||
@@ -20,6 +20,9 @@ | |||
20 | * DEALINGS IN THE SOFTWARE. | 20 | * DEALINGS IN THE SOFTWARE. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #ifndef NVGPU_CHANNEL_H | ||
24 | #define NVGPU_CHANNEL_H | ||
25 | |||
23 | #include <nvgpu/types.h> | 26 | #include <nvgpu/types.h> |
24 | 27 | ||
25 | #include "gk20a/gk20a.h" | 28 | #include "gk20a/gk20a.h" |
@@ -50,3 +53,5 @@ static inline void trace_write_pushbuffers(struct channel_gk20a *c, int count) | |||
50 | { | 53 | { |
51 | } | 54 | } |
52 | #endif | 55 | #endif |
56 | |||
57 | #endif | ||