aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-16 04:56:56 -0400
committerLee Jones <lee.jones@linaro.org>2013-10-23 11:22:06 -0400
commit3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b (patch)
treed4d736af934f8364632a47a139b14d0c4eaa7eeb /drivers
parent0af6f271d0f27334cad2102aa3ac2044a3f3926a (diff)
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')
-rw-r--r--drivers/mfd/arizona-i2c.c1
-rw-r--r--drivers/mfd/arizona-spi.c1
2 files changed, 2 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 @@
17#include <linux/regmap.h> 17#include <linux/regmap.h>
18#include <linux/regulator/consumer.h> 18#include <linux/regulator/consumer.h>
19#include <linux/slab.h> 19#include <linux/slab.h>
20#include <linux/of.h>
20 21
21#include <linux/mfd/arizona/core.h> 22#include <linux/mfd/arizona/core.h>
22 23
diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c
index 47be7b35b5c5..1ca554b18bef 100644
--- a/drivers/mfd/arizona-spi.c
+++ b/drivers/mfd/arizona-spi.c
@@ -17,6 +17,7 @@
17#include <linux/regulator/consumer.h> 17#include <linux/regulator/consumer.h>
18#include <linux/slab.h> 18#include <linux/slab.h>
19#include <linux/spi/spi.h> 19#include <linux/spi/spi.h>
20#include <linux/of.h>
20 21
21#include <linux/mfd/arizona/core.h> 22#include <linux/mfd/arizona/core.h>
22 23