ARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7
authorNishanth Menon <nm@ti.com>
Tue, 9 Sep 2014 17:15:33 +0000 (12:15 -0500)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Sep 2014 02:13:41 +0000 (19:13 -0700)
commit377fb3f5d9a34b2913939e0620c1c585b5913bab
treef51367adbba15b8ae57eecd9c735eb3c80a32ecc
parent5081ce621d35b7ba34614415f78f629d26bdc155
ARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7

OMAP4, OMAP5 and DRA7 share a lot of common logic and data structures.
These have been enabled in the previous patches, however, this also
means that OMAP5 or DRA7 only builds also need to build OMAP4 logic.
Update to reuse OMAP4 logic.

This fixes the 'undefined reference to 'omap4_pm_init_early'' in
OMAP5 or DRA7 only builds.

Fixes: 6af16a1dac5465c ("ARM: DRA7: Add hook in SoC initcalls to enable pm initialization")
Fixes: 628ed4717000789 ("ARM: OMAP5: Add hook in SoC initcalls to enable pm initialization")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile