# Re: \[PATCH\] TWL6040: fix build error

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2012-05-11 04:03:56 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/05/3862475
- Thread: https://ratatoskr.run/linux-input/2012/05/3862249/t.md

```text
Hi Sasha,

On Thu, May 10, 2012 at 08:44:33PM +0200, Sasha Levin wrote:
> 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>

Thank you for the fix; I folded it into original patch to avoid bisection
troubles.

-- 
Dmitry
```
