浏览代码

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>
MyungJoo Ham 13 年之前
父节点
当前提交
952f6d1386
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/devfreq/devfreq.c

+ 2 - 0
drivers/devfreq/devfreq.c

@@ -15,7 +15,9 @@
 #include <linux/errno.h>
 #include <linux/errno.h>
 #include <linux/err.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 #include <linux/opp.h>
 #include <linux/opp.h>
 #include <linux/devfreq.h>
 #include <linux/devfreq.h>
 #include <linux/workqueue.h>
 #include <linux/workqueue.h>