mfd: max8997: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 16 Oct 2013 08:56:51 +0000 (14:26 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:18 +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/max8997.c

index cee098c..791aea3 100644 (file)
@@ -24,6 +24,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>