PM / devfreq: Remove compiler error after irq.h update
authorMyungJoo Ham <[email protected]>
Thu, 10 Nov 2011 09:16:23 +0000 (10:16 +0100)
committerRafael J. Wysocki <[email protected]>
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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
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>