cpufreq: cpufreq_stats.c is a module, and should include module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 17:23:32 +0000 (13:23 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:31 +0000 (19:31 -0400)
So that we can clean up the header files and not be relying
on implicit includes from device.h ---> module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/cpufreq/cpufreq_stats.c

index faf7c52..c5072a9 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/cpu.h>
 #include <linux/sysfs.h>
 #include <linux/cpufreq.h>
+#include <linux/module.h>
 #include <linux/jiffies.h>
 #include <linux/percpu.h>
 #include <linux/kobject.h>