summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-i2c.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 14:26:56 +0530
committerLee Jones <lee.jones@linaro.org>2013-10-23 16:22:06 +0100
commit3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b (patch)
treed4d736af934f8364632a47a139b14d0c4eaa7eeb /drivers/mfd/arizona-i2c.c
parent0af6f271d0f27334cad2102aa3ac2044a3f3926a (diff)
downloadlinux-stable-3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b.tar.gz
linux-stable-3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b.tar.bz2
linux-stable-3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b.zip
mfd: arizona: 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/arizona-i2c.c')
-rw-r--r--drivers/mfd/arizona-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c
index 51dbabf7c021..beccb790c9ba 100644
--- a/drivers/mfd/arizona-i2c.c
+++ b/drivers/mfd/arizona-i2c.c
@@ -17,6 +17,7 @@
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
+#include <linux/of.h>
#include <linux/mfd/arizona/core.h>