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

index 522be67b2e682d743c36534005fb09737cfcf590..34520cbe8afbd6e9f0daca77f4bbde41b93697a6 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/mfd/max77686.h>
 #include <linux/mfd/max77686-private.h>
 #include <linux/err.h>
+#include <linux/of.h>
 
 #define I2C_ADDR_RTC   (0x0C >> 1)