Hi, when I try to buils torvalds/linux drivers it sas next errors:
drivers/media/i2c/adv748x/adv748x-csi2.c: In function ‘adv748x_csi2_init’:
drivers/media/i2c/adv748x/adv748x-csi2.c:291:9: error: ‘struct v4l2_subdev’ has no member named ‘fwnode’; did you mean ‘of_node’?
tx->sd.fwnode = of_fwnode_handle(ep);
^~~~~~
of_node
drivers/media/i2c/adv748x/adv748x-csi2.c:291:18: error: implicit declaration of function ‘of_fwnode_handle’; did you mean ‘of_parse_phandle’? [-Werror=implicit-function-declaration]
tx->sd.fwnode = of_fwnode_handle(ep);
^~~~~~~~~~~~~~~~
of_parse_phandle
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target ‘drivers/media/i2c/adv748x/adv748x-csi2.o’ failed