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

index f530e4b73f19abd63fe42ba7f18230dba79c088f..34c18fb8c0896b46f49de48b4d5631a5d780a811 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/of.h>
 #include <linux/of_irq.h>
 #include <linux/interrupt.h>
 #include <linux/pm_runtime.h>