Commit 3d6d1d1cd3e9aa4528f82936a01ad46c0e54969b

Authored by Sachin Kamat
Committed by Lee Jones
1 parent 0af6f271d0

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>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

drivers/mfd/arizona-i2c.c
... ... @@ -17,6 +17,7 @@
17 17 #include <linux/regmap.h>
18 18 #include <linux/regulator/consumer.h>
19 19 #include <linux/slab.h>
  20 +#include <linux/of.h>
20 21  
21 22 #include <linux/mfd/arizona/core.h>
22 23  
drivers/mfd/arizona-spi.c
... ... @@ -17,6 +17,7 @@
17 17 #include <linux/regulator/consumer.h>
18 18 #include <linux/slab.h>
19 19 #include <linux/spi/spi.h>
  20 +#include <linux/of.h>
20 21  
21 22 #include <linux/mfd/arizona/core.h>
22 23