# \[PATCH\] TWL6040: fix build error

- From: Sasha Levin \<hidden\>
- Date: 2012-05-10 18:43:34 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/05/3862249
- Thread: https://ratatoskr.run/linux-input/2012/05/3862249/t.md

```text
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

```
