ARM: vexpress: Ensure SPC driver is loaded before using it in PSCI init
authorJon Medhurst <tixy@linaro.org>
Wed, 19 Jun 2013 09:17:00 +0000 (10:17 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:16 +0000 (11:05 +0100)
commit521caf641e76b48016e25b66e37799a9333ede39
treedf12bf3f6b823a7eb26167aa487b8692243cb53a
parentb62c31f5262bdba8171287cfe92df7bdeed1af31
ARM: vexpress: Ensure SPC driver is loaded before using it in PSCI init

Otherwise we get a nullptr dereference calling vexpress_spc_get_nb_cpus.

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