]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 5d15b812377bc9ad23420e6d41bd7ea62dc62e2f..d0659253387a3ebb7c7d624df03171427246a407 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>