Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a/gk20a.c
Timo Alho 78e93b7e9d 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>
2016-10-25 11:14:45 -07:00

50 KiB