Re: compile error media-build on 4.15 because of 'device_get_match_data'

2018-05-05 Thread Jasmin J.
Hello! I just pushed a fix to media-build. But I had to disable the driver for Kernels older than 4.16. -> VIDEO_I2C requires device_get_match_data which requires the function pointer device_get_match_data in fwnode_operations. The latter has been added first in Kernel 4.16. If someone wants t

compile error media-build on 4.15 because of 'device_get_match_data'

2018-05-05 Thread Martin Dauskardt
I tried to compile media-build on Ubuntu 18.04. (gcc 7.3.0) with Kernel 4.15 and get this error: /home/martin/media_build/v4l/video-i2c.c: In function 'video_i2c_probe': /home/martin/media_build/v4l/video-i2c.c:456:16: error: implicit declaration of function 'device_get_match_data'; did you me