summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorMagnus Damm2010-05-12 16:21:24 +0200
committerPaul Mundt2010-05-20 05:05:45 +0200
commite47bb515c57853c1f41474dae199cb033e747f66 (patch)
treeb5756cf85f2db87bd31b7045aa747c6708658f60 /drivers/sh
parentARM: mach-shmobile: Enable TMU driver build (diff)
downloadkernel-qcow2-linux-e47bb515c57853c1f41474dae199cb033e747f66.tar.gz
kernel-qcow2-linux-e47bb515c57853c1f41474dae199cb033e747f66.tar.xz
kernel-qcow2-linux-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