diff options
author | Pritesh Raithatha <praithatha@nvidia.com> | 2018-06-12 02:54:46 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-21 07:52:32 -0400 |
commit | 00a801a0f2523ec5c8a0e7229d9d51b933bc4431 (patch) | |
tree | cd685151ba1cbed7541afd7528658bfd9d874972 /drivers/gpu/nvgpu/os/linux/module.c | |
parent | 0258721eb1e4b6be4217b1e7090a9f4073c7805a (diff) |
gpu: nvgpu: kernel version check for dma_buf_ops
In K4.14, dma_buf_ops members are renamed from kmap_atomic to map_atomic
and kmap to map. So put the kernel version check to fix the build error
for k4.14.
Bug 200414723
Bug 200421495
Change-Id: Ic959960a43d2247f9cd4b530f9172a152bcbc08b
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1747013
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/module.c')
0 files changed, 0 insertions, 0 deletions