diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 17:33:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-13 11:55:55 -0400 |
commit | ea24da728faf381a0204c424ee055a0572774e76 (patch) | |
tree | ef7c17d99f4c9e6c4e3c69853ee9d7a19b3d2480 /drivers/gpu/nvgpu/gk20a/regops_gk20a.c | |
parent | d2e36374b8ffeb2ff63c4d1eea75c0479872a710 (diff) |
gpu: nvgpu: Add wrapper nvgpu/bsearch.h
Add wrapper header file nvgpu/bsearch.h. It #includes <linux/bsearch.h>
on Linux.
JIRA NVGPU-13
Change-Id: I5893f91f2e1bcda99c68f94d9298d87ad4591c8f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1461543
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/regops_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/regops_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c index b19b16d7..128c00b5 100644 --- a/drivers/gpu/nvgpu/gk20a/regops_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/regops_gk20a.c | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/err.h> | 19 | #include <linux/err.h> |
20 | #include <linux/bsearch.h> | ||
21 | #include <uapi/linux/nvgpu.h> | 20 | #include <uapi/linux/nvgpu.h> |
22 | 21 | ||
23 | #include "gk20a.h" | 22 | #include "gk20a.h" |
@@ -26,6 +25,7 @@ | |||
26 | #include "regops_gk20a.h" | 25 | #include "regops_gk20a.h" |
27 | 26 | ||
28 | #include <nvgpu/log.h> | 27 | #include <nvgpu/log.h> |
28 | #include <nvgpu/bsearch.h> | ||
29 | 29 | ||
30 | static int regop_bsearch_range_cmp(const void *pkey, const void *pelem) | 30 | static int regop_bsearch_range_cmp(const void *pkey, const void *pelem) |
31 | { | 31 | { |