summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hal.c
diff options
context:
space:
mode:
authorTimo Alho <talho@nvidia.com>2016-10-15 16:47:36 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-25 14:14:45 -0400
commit78e93b7e9d4b21082bd0348288ac5a5389d2fc0f (patch)
treea15328d5a7b9cf64cbbdde8c62488e59ed148901 /drivers/gpu/nvgpu/gk20a/hal.c
parent7339774715f5e405739daa8a845104b0909b7dec (diff)
gpu: nvgpu: fix compile when CONFIG_PM=n
nvgpu driver fails to compile when CONFIG_PM build option is set to 'n'. Fix this by guarding struct gk20a_pm_ops and the functions pointed by in that struct with #ifdefs. Bug 1827482 Change-Id: I27f3535e89cc741f79824cdc427ef3572e2779e6 Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/1237110 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions