]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: arizona: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 16 Oct 2013 08:56:56 +0000 (14:26 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:06 +0000 (16:22 +0100)
'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>
drivers/mfd/arizona-i2c.c
drivers/mfd/arizona-spi.c

index 51dbabf7c0217f185323869ae1259f75aa7925a4..beccb790c9bab93869015044142666dc786b9508 100644 (file)
@@ -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>
 
index 47be7b35b5c5b09c9e17c4ef0cb7dae32b0c2855..1ca554b18bef76c8dd92156a2c9bf7ed87127fc3 100644 (file)
@@ -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>