[CPUFREQ] Fix up compile of cpufreq_stats
authorDave Jones <davej@redhat.com>
Wed, 2 Nov 2005 07:13:45 +0000 (23:13 -0800)
committerDave Jones <davej@redhat.com>
Wed, 2 Nov 2005 07:13:45 +0000 (23:13 -0800)
Whoops, I lost a hunk of the last patch somehow.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_stats.c

index 19b4c3e7c390e7d3a3b22d24cca62496b47e9e0f..7ddf714c4d437477156eb1da5173d347a78bed5f 100644 (file)
@@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy,
        return 0;
 error_out:
        cpufreq_cpu_put(data);
+error_get_fail:
        kfree(stat);
        cpufreq_stats_table[cpu] = NULL;
        return ret;