From: Kevin Hilman Date: Thu, 15 Nov 2012 00:54:27 +0000 (-0800) Subject: ARM: OMAP4: PM: fix errata handling when CONFIG_PM=n X-Git-Tag: omap-for-v3.8/fixes-non-critical-v4-signed^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936407358759adb302df93ab61fa68141897270c;p=pandora-kernel.git ARM: OMAP4: PM: fix errata handling when CONFIG_PM=n commit c9621844 (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 Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed