ARM: OMAP5: Fix build for PM code
authorTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2016 23:50:10 +0000 (16:50 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2016 23:50:10 +0000 (16:50 -0700)
It's CONFIG_SOC_OMAP5, not CONFIG_ARCH_OMAP5. Looks like make randconfig
builds have not hit this one yet.

Fixes: b3bf289c1c45 ("ARM: OMAP2+: Fix build with CONFIG_SMP and CONFIG_PM
is not set")
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile

index 5b37ec29996e9de4451a918b9dccb894a138ec02..e37ceb81a379cd7a3c64a633ce4c9eed4417a83a 100644 (file)
@@ -80,7 +80,7 @@ endif
 # Power Management
 omap-4-5-pm-common                     = omap-mpuss-lowpower.o
 obj-$(CONFIG_ARCH_OMAP4)               += $(omap-4-5-pm-common)
-obj-$(CONFIG_ARCH_OMAP5)               += $(omap-4-5-pm-common)
+obj-$(CONFIG_SOC_OMAP5)                        += $(omap-4-5-pm-common)
 obj-$(CONFIG_OMAP_PM_NOOP)             += omap-pm-noop.o
 
 ifeq ($(CONFIG_PM),y)