AR drivers/usb/core/built-in.a CC [M] drivers/net/wireless/ath/hw.o CC drivers/usb/dwc3/gadget.o AR drivers/input/mouse/built-in.a CC drivers/input/touchscreen/apple_z2.o CC drivers/i2c/busses/i2c-designware-platdrv.o drivers/input/touchscreen/apple_z2.c: In function 'apple_z2_probe': drivers/input/touchscreen/apple_z2.c:429:24: error: implicit declaration of function 'of_get_property' [-Werror=implicit-function-declaration] 429 | z2->cal_blob = of_get_property(dev->of_node, "apple,z2-cal-blob", &z2->cal_size); | ^~~~~~~~~~~~~~~ drivers/input/touchscreen/apple_z2.c:429:22: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 429 | z2->cal_blob = of_get_property(dev->of_node, "apple,z2-cal-blob", &z2->cal_size); | ^ AR drivers/i2c/muxes/built-in.a CC drivers/i2c/busses/i2c-pasemi-core.o drivers/input/touchscreen/apple_z2.c: At top level: drivers/input/touchscreen/apple_z2.c:486:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration] 486 | .of_match_table = of_match_ptr(apple_z2_of_match), | ^~~~~~~~~~~~ drivers/input/touchscreen/apple_z2.c:486:35: warning: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion] drivers/input/touchscreen/apple_z2.c:486:35: note: (near initialization for 'apple_z2_driver.driver.of_match_table') drivers/input/touchscreen/apple_z2.c:486:35: error: initializer element is not constant drivers/input/touchscreen/apple_z2.c:486:35: note: (near initialization for 'apple_z2_driver.driver.of_match_table') cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:252: drivers/input/touchscreen/apple_z2.o] Error 1 make[3]: *** [scripts/Makefile.build:494: drivers/input/touchscreen] Error 2 make[2]: *** [scripts/Makefile.build:494: drivers/input] Error 2 make[2]: *** Waiting for unfinished jobs.... CC drivers/i2c/busses/i2c-pasemi-platform.o AR drivers/net/wireless/broadcom/built-in.a CC [M] drivers/i2c/busses/i2c-gpio.o