[PATCH] ARM: OMAP2+: SmartReflex: soc.h is needed for omap initcalls

Kevin Hilman khilman at linaro.org
Tue Feb 12 17:23:56 EST 2013


commit aa4f99638b (ARM: OMAP2+: Use omap initcalls) converted
the initcalls here, but did not #include "soc.h" where the omap
inicalls are defined.

To fix, #include <soc.h>

Signed-off-by: Kevin Hilman <khilman at linaro.org>
---
Tony, the patch that broke this was introduced in your
omap-for-v3.9/multiplatform-enable-signed branch, and this problem was
found only when compiling with PM (specifically, SmartReflex) enabled.

 arch/arm/mach-omap2/smartreflex-class3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c
index 80f3acb..b2dcbd3 100644
--- a/arch/arm/mach-omap2/smartreflex-class3.c
+++ b/arch/arm/mach-omap2/smartreflex-class3.c
@@ -13,6 +13,7 @@
 
 #include <linux/power/smartreflex.h>
 #include "voltage.h"
+#include "soc.h"
 
 static int sr_class3_enable(struct omap_sr *sr)
 {
-- 
1.8.1.2




More information about the linux-arm-kernel mailing list