summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-08-29 17:52:39 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:30 -0400
commit884b17e109d61e95ee4c652cf6873341bf1dca63 (patch)
tree3d78863d2c13a61551ecd4fc498645ed2a3a0c95 /drivers/cpuidle
parent93cf5d75b9d0b703ca8f4f8f98303ad77ab20d26 (diff)
downloadlinux-stable-884b17e109d61e95ee4c652cf6873341bf1dca63.tar.gz
linux-stable-884b17e109d61e95ee4c652cf6873341bf1dca63.tar.bz2
linux-stable-884b17e109d61e95ee4c652cf6873341bf1dca63.zip
cpuidle: Add module.h to drivers/cpuidle files as required.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle.c1
-rw-r--r--drivers/cpuidle/governors/menu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index 0df014110097..becd6d99203b 100644
--- a/drivers/cpuidle/cpuidle.c
+++ b/drivers/cpuidle/cpuidle.c
@@ -17,6 +17,7 @@
#include <linux/cpuidle.h>
#include <linux/ktime.h>
#include <linux/hrtimer.h>
+#include <linux/module.h>
#include <trace/events/power.h>
#include "cpuidle.h"
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index 3600f1955e48..00275244ce2f 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -19,6 +19,7 @@
#include <linux/tick.h>
#include <linux/sched.h>
#include <linux/math64.h>
+#include <linux/module.h>
#define BUCKETS 12
#define INTERVALS 8