diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-16 14:26:56 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 16:22:06 +0100 |
commit | 3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b (patch) | |
tree | d4d736af934f8364632a47a139b14d0c4eaa7eeb /drivers/mfd | |
parent | 0af6f271d0f27334cad2102aa3ac2044a3f3926a (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/mfd')
-rw-r--r-- | drivers/mfd/arizona-i2c.c | 1 | ||||
-rw-r--r-- | drivers/mfd/arizona-spi.c | 1 |
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 @@ #include <linux/regmap.h> #include <linux/regulator/consumer.h> #include <linux/slab.h> +#include <linux/of.h> #include <linux/mfd/arizona/core.h> 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 @@ #include <linux/regulator/consumer.h> #include <linux/slab.h> #include <linux/spi/spi.h> +#include <linux/of.h> #include <linux/mfd/arizona/core.h> |