]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pwm: imx: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Sep 2013 11:23:23 +0000 (16:53 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 8 Oct 2013 13:45:44 +0000 (15:45 +0200)
'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c

index 2b7c4f88b461b788c1d683a141d6a402d958af12..aa6e5c6af6d34275d56fa8a9bb998bf9c641726b 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/pwm.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 
 /* i.MX1 and i.MX21 share the same PWM function block: */