summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/Makefile
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-04-01 09:10:58 +0200
committerThierry Reding <treding@nvidia.com>2015-05-13 15:17:13 +0200
commit31b52ba42d71e9ed8ee544e64c340ec6c571272f (patch)
tree0d71eb3e79adfbf42db909dad5dd3206dba2fc9c /drivers/clk/tegra/Makefile
parent890d6a54ead9dafdfdeebe65cbb10056e14c835a (diff)
downloadlinux-31b52ba42d71e9ed8ee544e64c340ec6c571272f.tar.bz2
clk: tegra: EMC clock driver depends on EMC driver
The EMC clock driver uses symbols exported by the EMC driver, so it needs the corresponding dependency to avoid build breakage. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/Makefile')
-rw-r--r--drivers/clk/tegra/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile
index 18c28d1ae400..aec862ba7a17 100644
--- a/drivers/clk/tegra/Makefile
+++ b/drivers/clk/tegra/Makefile
@@ -11,8 +11,9 @@ obj-y += clk-tegra-periph.o
obj-y += clk-tegra-pmc.o
obj-y += clk-tegra-fixed.o
obj-y += clk-tegra-super-gen4.o
+obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
-obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o clk-emc.o
+obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o
obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o