diff --git a/src/cpufreq.c b/src/cpufreq.c
index 6806c3e63c976ab9c7b3f2d091ea91c16f48a184..9d74c57680b22f423659e3d4f27b43bb45a4f251 100644 (file)
--- a/src/cpufreq.c
+++ b/src/cpufreq.c
rrd_update_file (host, file, val, ds_def, ds_num);
}
+#if CPUFREQ_HAVE_READ
static void cpufreq_submit (int cpu_num, unsigned long long val)
{
char buf[BUFSIZE];
plugin_submit (MODULE_NAME, cpu, buf);
}
-#if CPUFREQ_HAVE_READ
static void cpufreq_read (void)
{
#ifdef KERNEL_LINUX