Hi Dmitry,

On Monday, May 21, 2012, Dmitry Torokhov <[email protected]> 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
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to