diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-29 18:19:16 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-01 11:38:17 -0500 |
commit | a0ccf3a8d07ebc0fdc271c7392597c9ac21f9fae (patch) | |
tree | c335f415b9b5b6ec026375190bb174e2856f5189 /drivers/gpu/nvgpu/clk/clk.h | |
parent | 4e3269cc0bf1c1bf27a78000b2e980be87acd499 (diff) |
gpu: nvgpu: Fix ioctl.c w/ disabled ctxsw tracing
ioctl.c defines file_operations structure for ctxsw tracing. The
definition is not protected by the build flag
CONFIG_GK20A_CTXSW_TRACE. Add the protection.
Change-Id: If82d6e2436d18d72b8eb43d490111c7d5ee0b41c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1607577
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk.h')
0 files changed, 0 insertions, 0 deletions