summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 16:53:25 +0530
committerThierry Reding <thierry.reding@gmail.com>2013-10-08 15:45:44 +0200
commite852340deef3ce260074d53fbe553c60217c6c5b (patch)
treead911dd3b6d07152f6d7721f35c2ec1ec3ffeec9
parentc3bdfe1f1e4e1e195945c55a2256eba89334d36c (diff)
downloadop-kernel-dev-e852340deef3ce260074d53fbe553c60217c6c5b.zip
op-kernel-dev-e852340deef3ce260074d53fbe553c60217c6c5b.tar.gz
pwm: twl-led: 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-twl-led.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c
index 29d1bba..b964470 100644
--- a/drivers/pwm/pwm-twl-led.c
+++ b/drivers/pwm/pwm-twl-led.c
@@ -21,6 +21,7 @@
*/
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/i2c/twl.h>
OpenPOWER on IntegriCloud