PM / devfreq: Remove compiler error after irq.h update
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 10 Nov 2011 09:16:23 +0000 (10:16 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 10 Nov 2011 09:16:23 +0000 (10:16 +0100)
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>
drivers/devfreq/devfreq.c

index 5d15b81..d065925 100644 (file)
@@ -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>