瀏覽代碼

mfd: as3711: Include linux/of.h header

'of_match_ptr' is defined in linux/of.h. Include it explicitly to
avoid breakage in the future.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Sachin Kamat 12 年之前
父節點
當前提交
0af6f271d0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mfd/as3711.c

+ 1 - 0
drivers/mfd/as3711.c

@@ -17,6 +17,7 @@
 #include <linux/mfd/as3711.h>
 #include <linux/mfd/as3711.h>
 #include <linux/mfd/core.h>
 #include <linux/mfd/core.h>
 #include <linux/module.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/regmap.h>
 #include <linux/regmap.h>
 #include <linux/slab.h>
 #include <linux/slab.h>