summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 13:23:24 +0200
committerThierry Reding <thierry.reding@gmail.com>2013-10-08 15:45:44 +0200
commitc3bdfe1f1e4e1e195945c55a2256eba89334d36c (patch)
tree6c882b4d771994e160a2189543f8a514a78f7f61
parentpwm: imx: Include linux/of.h header (diff)
downloadlinux-c3bdfe1f1e4e1e195945c55a2256eba89334d36c.tar.xz
linux-c3bdfe1f1e4e1e195945c55a2256eba89334d36c.zip
pwm: samsung: 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>
-rw-r--r--drivers/pwm/pwm-samsung.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c
index fcc8b9adde9f..57eb8cb0638f 100644
--- a/drivers/pwm/pwm-samsung.c
+++ b/drivers/pwm/pwm-samsung.c
@@ -18,6 +18,7 @@
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>