ARM: vexpress: Make cpuidle check for presence of SPC driver
authorJon Medhurst <tixy@linaro.org>
Wed, 25 Jul 2012 14:13:46 +0000 (15:13 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:12 +0000 (11:05 +0100)
commite7fd319fd055450dce5ff4f07fa2012f103e9413
tree521a6500e098a564c975c649acec35084f981624
parent88d444dfb9e5776c0234e37eeea5bf1a37f8a71f
ARM: vexpress: Make cpuidle check for presence of SPC driver

The cpuidle code requires SPC hardware, so check for its presence
before initialising. This enables the cpuidle code to safely exist
in kernels run on hardware without SPC support.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/mach-vexpress/cpuidle-tc2.c