summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8907.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 10:56:50 +0200
committerLee Jones <lee.jones@linaro.org>2013-10-23 17:22:20 +0200
commite4081da476e5e741c4e469a0f8470e9f4169794e (patch)
treedfd0d382228e7cc6487cf848448b92e23ad14bc7 /drivers/mfd/max8907.c
parentmfd: max8997: Include linux/of.h header (diff)
downloadlinux-e4081da476e5e741c4e469a0f8470e9f4169794e.tar.xz
linux-e4081da476e5e741c4e469a0f8470e9f4169794e.zip
mfd: max8907: 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/max8907.c')
-rw-r--r--drivers/mfd/max8907.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/max8907.c b/drivers/mfd/max8907.c
index e9b1c93a3ade..3bbfedc07f41 100644
--- a/drivers/mfd/max8907.c
+++ b/drivers/mfd/max8907.c
@@ -17,6 +17,7 @@
#include <linux/mfd/core.h>
#include <linux/mfd/max8907.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>