Messages in this thread Patch in this message | | | From | Sachin Kamat <> | Subject | [PATCH 4/9] mfd: max8997: Include linux/of.h header | Date | Wed, 16 Oct 2013 14:26:51 +0530 |
| |
'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> --- drivers/mfd/max8997.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c index cee098c..791aea3 100644 --- a/drivers/mfd/max8997.c +++ b/drivers/mfd/max8997.c @@ -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> -- 1.7.9.5
| |