]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4: PM: fix errata handling when CONFIG_PM=n
authorKevin Hilman <khilman@ti.com>
Thu, 15 Nov 2012 00:54:27 +0000 (16:54 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2012 01:06:20 +0000 (17:06 -0800)
commit2eb977cefdd2e8d14c62e81a8ed8851b8136788f
treeade92c2f6db1f68ffaab6bd5be4227c63b3c3ba4
parent2dd3cf013ff520aafad771650fde738e43af3f07
ARM: OMAP4: PM: fix errata handling when CONFIG_PM=n

commit e4a578c4 (ARM: OMAP4: PM: add errata support) introduced errata
handling for OMAP4, but was broken when CONFIG_PM=n.

When CONFIG_PM=n, pm44xx.c is not compiled, yet that is where pm44xx_errata
is defined.  However, these errata are needed for the SMP boot/hotplug case
also, and are primarily used in omap-smp.c.

Move the definition of pm44xx_errata to omap-smp.c so that it's available
even in the CONFIG_PM=n case.

Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-omap2/pm44xx.c