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
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