Skip to content
Snippets Groups Projects
Commit ad115623 authored by Federico Vaga's avatar Federico Vaga
Browse files

sw:i2c: add support for kernel greater than 4.7


Instead of check for version here and there, the main code always uses
the latest API, and in a preprocessor ``if`` statement I implemented
the compatibility layer.

Like this it will be easier to apply patches from the kernel to our
local driver

Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
parent b0b19257
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment