aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-11-01 23:13:45 -0800
committerDave Jones <davej@redhat.com>2005-11-01 23:13:45 -0800
commitb7fb358c7c36a14927d5523ea674e69f90c51d1d (patch)
tree84a55d070b7acd5f3ffb0c3e7e53fd9d4c481112 /drivers
parentbc7b26fd7ca5e0c6e769d3886c022f0a98fd88ec (diff)
downloadkernel_samsung_aries-b7fb358c7c36a14927d5523ea674e69f90c51d1d.zip
kernel_samsung_aries-b7fb358c7c36a14927d5523ea674e69f90c51d1d.tar.gz
kernel_samsung_aries-b7fb358c7c36a14927d5523ea674e69f90c51d1d.tar.bz2
[CPUFREQ] Fix up compile of cpufreq_stats
Whoops, I lost a hunk of the last patch somehow. Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq_stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c
index 19b4c3e..7ddf714 100644
--- a/drivers/cpufreq/cpufreq_stats.c
+++ b/drivers/cpufreq/cpufreq_stats.c
@@ -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;