aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 16:53:23 +0530
committerThierry Reding <thierry.reding@gmail.com>2013-10-08 15:45:44 +0200
commit2a8876cfdf14de557705e2559df99f40058a3b3b (patch)
tree08e39a0a7d4b522702f53e208a8d1158005ea14f /drivers/pwm
parentceb12f939809b3445d0b2118d4b07638bb07afa6 (diff)
pwm: imx: Include linux/of.h header
'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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 2b7c4f88b461..aa6e5c6af6d3 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -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: */