summaryrefslogtreecommitdiff
path: root/drivers/sh/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-05-21 19:26:23 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-05-21 19:26:23 (GMT)
commitf6ce579d91029123e4b83137d7bf5bc487b7dfb9 (patch)
tree7fe520396f9a926769a10868eeb9340494a17053 /drivers/sh/Makefile
parentfba69f042ad99f68c0268ef1c012f3199f898fac (diff)
parent3c90c55dcde745bed81f6447f24ba96bda43d984 (diff)
downloadlinux-f6ce579d91029123e4b83137d7bf5bc487b7dfb9.tar.xz
Merge tag 'renesas-sh-drivers-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
Pull SH driver fix from Simon Horman: "Compile drivers/sh/pm_runtime.c if ARCH_SHMOBILE_MULTI This resolves a regression introduced in v3.14 by commit bf98c1eac1d4 ("ARM: Rename ARCH_SHMOBILE to ARCH_SHMOBILE_LEGACY")" * tag 'renesas-sh-drivers-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: drivers: sh: compile drivers/sh/pm_runtime.c if ARCH_SHMOBILE_MULTI
Diffstat (limited to 'drivers/sh/Makefile')
-rw-r--r--drivers/sh/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/sh/Makefile b/drivers/sh/Makefile
index fc67f56..788ed9b 100644
--- a/drivers/sh/Makefile
+++ b/drivers/sh/Makefile
@@ -1,10 +1,12 @@
#
# Makefile for the SuperH specific drivers.
#
-obj-y := intc/
+obj-$(CONFIG_SUPERH) += intc/
+obj-$(CONFIG_ARCH_SHMOBILE_LEGACY) += intc/
+ifneq ($(CONFIG_COMMON_CLK),y)
+obj-$(CONFIG_HAVE_CLK) += clk/
+endif
+obj-$(CONFIG_MAPLE) += maple/
+obj-$(CONFIG_SUPERHYWAY) += superhyway/
-obj-$(CONFIG_HAVE_CLK) += clk/
-obj-$(CONFIG_MAPLE) += maple/
-obj-$(CONFIG_SUPERHYWAY) += superhyway/
-
-obj-y += pm_runtime.o
+obj-y += pm_runtime.o