summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/devfreq.c
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2011-11-10 10:16:23 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-11-10 10:16:23 +0100
commit952f6d1386b21c5e8db346b805380bf2432e5e9b (patch)
tree8a75e209c3b38dcc423051e7b6cd1482f0cd873a /drivers/devfreq/devfreq.c
parentPM / QoS: Properly use the WARN() macro in dev_pm_qos_add_request() (diff)
downloadlinux-952f6d1386b21c5e8db346b805380bf2432e5e9b.tar.xz
linux-952f6d1386b21c5e8db346b805380bf2432e5e9b.zip
PM / devfreq: Remove compiler error after irq.h update
Added <linux/module.h> and <linux/stat.h> to avoid a compiler error because linux/irq.h no longer includes linux/module.h after Linux 3.2. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/devfreq/devfreq.c')
-rw-r--r--drivers/devfreq/devfreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index 5d15b812377b..d0659253387a 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -15,7 +15,9 @@
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/slab.h>
+#include <linux/stat.h>
#include <linux/opp.h>
#include <linux/devfreq.h>
#include <linux/workqueue.h>