Files
Arch-R/projects
Rudi Heitbaum 4d91c61f93 linux (Allwinner): i2c: move to .probe_new() call-back type
since kernel 4.10-rc1 .probe_new has been availble as a prototype.
from kernel 6.3-rc2 the old prototype which included a i2c_device_id variable has now dropped this variable.

update the AC200 patch to use .probe_new which will allow this patch to compile against kernels >= 4.10

in future - the patch can be updated to use .probe (but will loose compatibilty with kernels <= 6.3.)

ref:
- https://lore.kernel.org/lkml/1477413715-22894-7-git-send-email-kieran@bingham.xyz/
- 03c835f498
- b8a1a4cd5a
2023-03-22 12:46:45 +00:00
..
2023-03-19 18:58:39 +00:00