summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max77686.c
diff options
context:
space:
mode:
authorSachin Kamat2013-10-16 10:56:49 +0200
committerLee Jones2013-10-23 17:22:23 +0200
commit2a048d3b787e154e06a21f5f0951a319b6ada4fb (patch)
tree81c0f773bc21dc6b9a88e813ff624b90ee285045 /drivers/mfd/max77686.c
parentmfd: max8907: Include linux/of.h header (diff)
downloadkernel-qcow2-linux-2a048d3b787e154e06a21f5f0951a319b6ada4fb.tar.gz
kernel-qcow2-linux-2a048d3b787e154e06a21f5f0951a319b6ada4fb.tar.xz
kernel-qcow2-linux-2a048d3b787e154e06a21f5f0951a319b6ada4fb.zip
mfd: max77686: 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>
Diffstat (limited to 'drivers/mfd/max77686.c')
-rw-r--r--drivers/mfd/max77686.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c
index 522be67b2e68..34520cbe8afb 100644
--- a/drivers/mfd/max77686.c
+++ b/drivers/mfd/max77686.c
@@ -31,6 +31,7 @@
#include <linux/mfd/max77686.h>
#include <linux/mfd/max77686-private.h>
#include <linux/err.h>
+#include <linux/of.h>
#define I2C_ADDR_RTC (0x0C >> 1)