Hi Dmitry,<br><br>On Monday, May 21, 2012, Dmitry Torokhov <<a href="mailto:dmitry.torokhov@gmail.com">dmitry.torokhov@gmail.com</a>> wrote:<br>> Hmm, I am getting:<br>><br>> CC drivers/input/misc/twl6040-vibra.o<br>
> drivers/input/misc/twl6040-vibra.c: In function ‘twl6040_vibra_probe’:<br>> drivers/input/misc/twl6040-vibra.c:263:9: error: implicit declaration of<br>> function ‘of_find_node_by_name’ [-Werror=implicit-function-declaration]<br>
> drivers/input/misc/twl6040-vibra.c:263:42: warning: initialization makes<br>> pointer from integer without a cast [enabled by default]<br>> cc1: some warnings being treated as errors<br>> make[1]: *** [drivers/input/misc/twl6040-vibra.o] Error 1<br>
> make: *** [drivers/input/misc/twl6040-vibra.o] Error 2<br>><br>><br>> it looks like there is no stub for of_find_node_by_name().<br><br>I'm on holiday at the moment without a way to check this.<br>I think it is better to skip this patch for now until I got back.<br>
<br>It might be that we need to include the of_device.h as well?<br><br>Sorry about it.<br><br>Regards,<br>Péter<br><br>-- <br>Péter<br>