gpu: nvgpu: compile clk_gm20b.c always

We currently compile clk_gm20b.c only if
CONFIG_COMMON_CLK is set

But since all linux and tegra dependencies
are removed from this file, we can compile
this file always and irrespective of
CONFIG_COMMON_CLK

Jira NVGPU-49

Change-Id: I695ebca74c91dcd068e19ec20d4f09cc950b64b3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1483863
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Deepak Nibade
2017-05-17 16:13:35 +05:30
committed by mobile promotions
parent c32aa0170d
commit 0cca34641d

View File

@@ -94,7 +94,7 @@ nvgpu-y := \
gm20b/ltc_gm20b.o \
gm20b/ce2_gm20b.o \
gm20b/gr_gm20b.o \
gm20b/gr_gm20b.o \
gm20b/clk_gm20b.o \
gm20b/fb_gm20b.o \
gm20b/fifo_gm20b.o \
gm20b/gr_ctx_gm20b.o \
@@ -138,8 +138,7 @@ nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
vgpu/sysfs_vgpu.o
nvgpu-$(CONFIG_COMMON_CLK) += \
tegra/linux/clk.o \
gm20b/clk_gm20b.o
tegra/linux/clk.o
nvgpu-$(CONFIG_GK20A_DEVFREQ) += \
gk20a/gk20a_scale.o