sh: also without PM_RUNTIME pm_runtime.o must be built
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 10 Jan 2012 15:04:11 +0000 (16:04 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jan 2012 03:25:51 +0000 (12:25 +0900)
When CONFIG_PM_RUNTIME is off, drivers/sh/pm_runtime.o still has to be
built on sh platforms, because then it provides means to statically
switch on device PM clocks.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/Makefile

index c393894..7139ad2 100644 (file)
@@ -7,4 +7,4 @@ obj-$(CONFIG_HAVE_CLK)          += clk/
 obj-$(CONFIG_MAPLE)            += maple/
 obj-$(CONFIG_SUPERHYWAY)       += superhyway/
 obj-$(CONFIG_GENERIC_GPIO)     += pfc.o
-obj-$(CONFIG_PM_RUNTIME)       += pm_runtime.o
+obj-y                          += pm_runtime.o