Thread (1 message) 1 message, 1 author, 2012-05-21

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

From: Ujfalusi, Peter <hidden>
Date: 2012-05-21 09:45:07

Hi Dmitry,

On Monday, May 21, 2012, Dmitry Torokhov [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help