summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-12 14:21:24 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-05-20 12:05:45 +0900
commite47bb515c57853c1f41474dae199cb033e747f66 (patch)
treeb5756cf85f2db87bd31b7045aa747c6708658f60 /drivers/sh
parent645e522ee05f467b86f6fd2f3554fd6592418bae (diff)
downloadlwn-e47bb515c57853c1f41474dae199cb033e747f66.tar.gz
lwn-e47bb515c57853c1f41474dae199cb033e747f66.zip
ARM: mach-shmobile: Use shared clock framework
Teach SH-Mobile ARM how to make use of the shared SH clock framework. This commit is one atomic switch that dumps the local hackery and instead links in the shared clock framework code in drivers/sh. A few local functions are kept in clock.c. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile
index 78bb5127abd0..08fc653a825c 100644
--- a/drivers/sh/Makefile
+++ b/drivers/sh/Makefile
@@ -1,9 +1,10 @@
#
# Makefile for the SuperH specific drivers.
#
+obj-y := clk.o intc.o
+
obj-$(CONFIG_SUPERHYWAY) += superhyway/
obj-$(CONFIG_MAPLE) += maple/
+
obj-$(CONFIG_GENERIC_GPIO) += pfc.o
-obj-$(CONFIG_SUPERH) += clk.o
obj-$(CONFIG_SH_CLK_CPG) += clk-cpg.o
-obj-y += intc.o