summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/Makefile
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2016-02-26 09:45:03 -0800
committerMichael Turquette <mturquette@baylibre.com>2016-03-01 16:21:25 -0800
commitc2ee9bdc852dcd1f2f3a6adaa986f14441a673f3 (patch)
tree05170eebe8b473b3158189cd79232c0d8a80a4b2 /drivers/clk/ti/Makefile
parent21330497f303c55fd6a34d511a98eb0a31aa1bd7 (diff)
downloadlinux-stable-c2ee9bdc852dcd1f2f3a6adaa986f14441a673f3.tar.gz
linux-stable-c2ee9bdc852dcd1f2f3a6adaa986f14441a673f3.tar.bz2
linux-stable-c2ee9bdc852dcd1f2f3a6adaa986f14441a673f3.zip
clk: ti: Allow COMPILE_TEST to build selected drivers
The arch independent drivers can be build testeed with COMPILE_TEST. Let's allow that for drivers/clk/ti. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'drivers/clk/ti/Makefile')
-rw-r--r--drivers/clk/ti/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile
index dfe91d721bb1..0deac9821039 100644
--- a/drivers/clk/ti/Makefile
+++ b/drivers/clk/ti/Makefile
@@ -1,3 +1,5 @@
+ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
+
obj-y += clk.o autoidle.o clockdomain.o
clk-common = dpll.o composite.o divider.o gate.o \
fixed-factor.o mux.o apll.o \
@@ -19,4 +21,6 @@ ifdef CONFIG_ATAGS
obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o
endif
+endif # CONFIG_ARCH_OMAP2PLUS
+
obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o