tc2_pm: Fixup for new SPC driver

Signed-off-by: Jon Medhurst <tixy@linaro.org>
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index 1ce8798..d8b8686 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -60,7 +60,7 @@
 config ARCH_VEXPRESS_TC2
 	bool "TC2 cluster management"
 	depends on MCPM
-	select ARM_SPC
+	select VEXPRESS_SPC
 	select ARM_CCI
 	help
 	  Support for CPU and cluster power management on TC2.
diff --git a/arch/arm/mach-vexpress/tc2_pm.c b/arch/arm/mach-vexpress/tc2_pm.c
index d2f8427..aa866e5 100644
--- a/arch/arm/mach-vexpress/tc2_pm.c
+++ b/arch/arm/mach-vexpress/tc2_pm.c
@@ -59,7 +59,7 @@
 
 	tc2_pm_use_count[cpu][cluster]++;
 	if (tc2_pm_use_count[cpu][cluster] == 1) {
-		vexpress_spc_write_bxaddr_reg(cluster, cpu,
+		vexpress_spc_write_resume_reg(cluster, cpu,
 					      virt_to_phys(mcpm_entry_point));
 		vexpress_spc_set_cpu_wakeup_irq(cpu, cluster, 1);
 	} else if (tc2_pm_use_count[cpu][cluster] != 2) {
@@ -178,7 +178,7 @@
 	mpidr = read_cpuid_mpidr();
 	cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0);
 	cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1);
-	vexpress_spc_write_bxaddr_reg(cluster, cpu,
+	vexpress_spc_write_resume_reg(cluster, cpu,
 				      virt_to_phys(tc2_resume));
 
 	tc2_pm_down(residency);
@@ -210,7 +210,7 @@
 		tc2_pm_use_count[cpu][cluster] = 1;
 
 	vexpress_spc_set_cpu_wakeup_irq(cpu, cluster, 0);
-	vexpress_spc_write_bxaddr_reg(cluster, cpu, 0);
+	vexpress_spc_write_resume_reg(cluster, cpu, 0);
 
 	arch_spin_unlock(&tc2_pm_lock);
 	local_irq_restore(flags);