Closed Borim7 closed 1 year ago
Before compilation media_build scripts apply backport patches for older kernels For your certain case applied backports/v6.0_i2c_remove_tbs.patch for kernels < 6.1
Thanks for the hint, with this patch it worked.
In the end I switched from master to extra branch, as the patch is only available on extra.
During the complation of the drivers the linux-media.tar.bz2 is downloaded from this repository, the currently shipped version trigger compile errors in following files:
The problem is always the same: The function signature of the remove function used for initialization of the
struct i2c_driver
does not match thestruct i2c_driver
type.For example in mxl603.c the function is
static void mxl603_remove(struct i2c_client *client)
, but the struct need a remove function returning anint
. Change the function tostatic int mxl603_remove(struct i2c_client *client)
and return always 0, fix this problem.Can you please update the linux-media.tar.bz2?
My system is