I have PC running Linux Centos 7 with a TBS6982SE and TV headend for a few years now.
Every few months I do a yum update, recompile the TBS drivers (currently I am on v170330) and keep going.
On the last update the kernel moved from 3.10.0-693.21.1.el7.x86_64 to 3.10.0-862.14.4.el7.x86_64 and I got this error
'struct i2c_client' has no member named 'driver'
I rolled back the kernel to 3.10.0-693.21.1.el7.x86_64 and I am operable again. (I sorry I did write down the source file the error was in)
I did find this:-
ftp://rpmfind.net/linux/RPM/centos/7.5. ... 86_64.html which has
- [i2c] Remove redundant 'driver' field from the i2c_client struct (Gopal Tiwari) [1456705]
- [media] core: Don't use i2c_client->driver (Gopal Tiwari) [1456705]
I also found this:-
https://lists.freedesktop.org/archives/ ... 46219.html
The 'driver' field of the i2c_client struct is redundant and is going to be
removed. The results of the expressions 'client->driver.driver->field' and
'client->dev.driver->field' are identical, so replace all occurrences of the
former with the later.
...
-#define PREFIX (t->i2c->driver->driver.name)
+#define PREFIX (t->i2c->dev.driver->name)
So I have a working system, I just can't move forward. I can roll the kernel forward and attempt to update the tbs driver myself with the suggestion above.
But if Turbosight was going to do this anyway - I'll wait..