summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/Makefile
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2013-07-18 11:52:33 +0300
committerMike Turquette <mturquette@linaro.org>2014-01-17 12:32:38 -0800
commita8aceccb4d5db0acb476b74051525fb26f57f8ae (patch)
tree1ea3c1b912f065fab116417d750d208de1973454 /drivers/clk/ti/Makefile
parent68b9f608679424ea08e6fbead5dc82599bfe667f (diff)
CLK: TI: add DT alias clock registration mechanism
Some devices require their clocks to be available with a specific dev-id con-id mapping. With DT, the clocks can be found by default only with their name, or alternatively through the device node of the consumer. With drivers, that don't support DT fully yet, add mechanism to register specific clock names. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/ti/Makefile')
-rw-r--r--drivers/clk/ti/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile
new file mode 100644
index 000000000000..1825f7f4bdc0
--- /dev/null
+++ b/drivers/clk/ti/Makefile
@@ -0,0 +1,3 @@
+ifneq ($(CONFIG_OF),)
+obj-y += clk.o
+endif