浏览代码

mfd: tps6586x: 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 年之前
父节点
当前提交
06bf3c2f11
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mfd/tps6586x.c

+ 1 - 0
drivers/mfd/tps6586x.c

@@ -26,6 +26,7 @@
 #include <linux/i2c.h>
 #include <linux/platform_device.h>
 #include <linux/regmap.h>
+#include <linux/of.h>
 
 #include <linux/mfd/core.h>
 #include <linux/mfd/tps6586x.h>