diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 14:39:21 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-12 10:01:12 -0400 |
commit | 7665421874e66f0b00d52a5f1db5210895a9ab7b (patch) | |
tree | 039b5523ae1b44330c1d37bae145daf855714b2e /drivers/gpu/nvgpu/gk20a/hal.h | |
parent | fb1f604f41435a206b866fba87d36bbc3e9ae474 (diff) |
gpu: nvgpu: Replace use of bitops.h and kernel.h
Remove use of linux/kernel.h and linux/compiler.h. We don't use
anything in those headers.
Also replace use of linux/bitops.h with new wrapper nvgpu/bitops.h.
JIRA NVGPU-13
Change-Id: Iefa6b4598d5a5e7fc386c0a7a554e778a87010d6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1460777
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.h b/drivers/gpu/nvgpu/gk20a/hal.h index da02cf5f..4203dbfa 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.h +++ b/drivers/gpu/nvgpu/gk20a/hal.h | |||
@@ -16,8 +16,6 @@ | |||
16 | #ifndef __HAL_GPU__ | 16 | #ifndef __HAL_GPU__ |
17 | #define __HAL_GPU__ | 17 | #define __HAL_GPU__ |
18 | 18 | ||
19 | #include <linux/kernel.h> | ||
20 | |||
21 | struct gk20a; | 19 | struct gk20a; |
22 | 20 | ||
23 | int gpu_init_hal(struct gk20a *g); | 21 | int gpu_init_hal(struct gk20a *g); |