[PATCH] Input: twl6040-vibra: Update for device tree support

Ujfalusi, Peter peter.ujfalusi at ti.com
Mon May 21 19:45:07 EST 2012


Hi Dmitry,

On Monday, May 21, 2012, Dmitry Torokhov <dmitry.torokhov at gmail.com> wrote:
> Hmm, I am getting:
>
>  CC      drivers/input/misc/twl6040-vibra.o
> drivers/input/misc/twl6040-vibra.c: In function ‘twl6040_vibra_probe’:
> drivers/input/misc/twl6040-vibra.c:263:9: error: implicit declaration of
> function ‘of_find_node_by_name’ [-Werror=implicit-function-declaration]
> drivers/input/misc/twl6040-vibra.c:263:42: warning: initialization makes
> pointer from integer without a cast [enabled by default]
> cc1: some warnings being treated as errors
> make[1]: *** [drivers/input/misc/twl6040-vibra.o] Error 1
> make: *** [drivers/input/misc/twl6040-vibra.o] Error 2
>
>
> it looks like there is no stub for of_find_node_by_name().

I'm on holiday at the moment without a way to check this.
I think it is better to skip this patch for now until I got back.

It might be that we need to include the of_device.h as well?

Sorry about it.

Regards,
Péter

-- 
Péter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120521/993137be/attachment.html>


More information about the devicetree-discuss mailing list