Signed-off-by: Jon Medhurst <tixy@linaro.org>
config ARM_VEXPRESS_BL_CPUFREQ
tristate "ARM Vexpress big LITTLE CPUfreq driver"
select ARM_BIG_LITTLE_CPUFREQ
- depends on ARM_SPC
+ depends on VEXPRESS_SPC
help
This enables the CPUfreq driver for ARM Vexpress big.LITTLE platform.
If in doubt, say N.
static int vexpress_init_opp_table(struct device *cpu_dev)
{
int i = -1, count, cluster = cpu_to_cluster(cpu_dev->id);
- unsigned int *table = vexpress_spc_get_freq_table(cluster, &count);
+ u32 *table;
int ret;
+ count = vexpress_spc_get_freq_table(cluster, &table);
if (!table || !count) {
pr_err("SPC controller returned invalid freq table");
return -EINVAL;