From: Lee Jones Date: Thu, 16 May 2013 11:15:35 +0000 (+0100) Subject: ARM: ux500: Only configure wake-up reasons on ux500 based platforms X-Git-Tag: v3.10-rc5~4^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c06897e4597b1cd68ef29e4145917a751c2b4cd;p=pandora-kernel.git ARM: ux500: Only configure wake-up reasons on ux500 based platforms Multiplatform calls all enabled platforms' initcalls. In the ux500_idle_init() initcall we call into the DBx500-PRCMU which in turn executes some ux500 specific register reads/writes. When running on some !ux500 platforms this ends up causing a kernel Oops. This patch ensures the PRCMU call is only invoked when running on ux500 based platforms. Reported-by: Rob Herring Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed