6ULL Error while compiling,implicit declaration of function ‘of_find_node_by_phandle’

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

6ULL Error while compiling,implicit declaration of function ‘of_find_node_by_phandle’

667 Views
bravosix
Contributor I

When I compiled the WiFi program as a module, this error occurred

drivers/media/platform/mxc/subdev/mxc_mipi_csi.c: In function ‘mipi_csis_phy_reset’:
drivers/media/platform/mxc/subdev/mxc_mipi_csi.c:401:10: error: implicit declaration of function ‘of_find_node_by_phandle’ [-Werror=implicit-function-declaration]
node = of_find_node_by_phandle(phandle);

Compiler version 4.9.4 2017.01

kernel version 4.1.15

0 Kudos
Reply
1 Reply

655 Views
weidong_sun
NXP TechSupport
NXP TechSupport

This error has nothing to do with whether you compile the WIFI module.
Before compiling the WIFI module, you must ensure that you can compile the linux kernel of i.MX6ULL correctly. Then configure the Makefile of the wifi module source code, fill in your linux kernel path, CPU architecture, and compiler path, and then start compiling.

 

Have a nice day!

B.R,

Weidong

0 Kudos
Reply