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

index e9b1c93a3ade36ba41de62bff0bd588fd4148162..3bbfedc07f41c8e24d866120b64423374c629fa3 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/mfd/core.h>
 #include <linux/mfd/max8907.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/regmap.h>
 #include <linux/slab.h>