[PATCH] TWL6040: fix build error

From
Sasha Levin <hidden>
Date
2012-05-10 18:43:34
Also in
lkml
Fixes build error due to missing of_property_read_u32.

Signed-off-by: Sasha Levin <redacted>
---
 drivers/input/misc/twl6040-vibra.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6040-vibra.c
index bb134ce..97447ee 100644
--- a/drivers/input/misc/twl6040-vibra.c
+++ b/drivers/input/misc/twl6040-vibra.c
@@ -27,6 +27,7 @@
  */
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/workqueue.h>
 #include <linux/input.h>
-- 
1.7.8.5
Thread (15 messages) 15 messages, 6 authors, last reply 2012-05-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help