summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 10:56:55 +0200
committerLee Jones <lee.jones@linaro.org>2013-10-23 17:22:08 +0200
commit1fead3f399ce7b508b05d0cc9d06d534ffac952c (patch)
tree78d15ba53c6a23c0baea0a4559c1dba3454bd4f5
parentmfd: arizona: Include linux/of.h header (diff)
downloadlinux-1fead3f399ce7b508b05d0cc9d06d534ffac952c.tar.xz
linux-1fead3f399ce7b508b05d0cc9d06d534ffac952c.zip
mfd: tps65910: 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>
-rw-r--r--drivers/mfd/tps65910.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index d79277204835..72f2e789ab83 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -25,6 +25,7 @@
#include <linux/mfd/core.h>
#include <linux/regmap.h>
#include <linux/mfd/tps65910.h>
+#include <linux/of.h>
#include <linux/of_device.h>
static struct resource rtc_resources[] = {