diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-07-03 20:10:33 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2019-07-04 08:29:13 +0200 |
commit | bf21b6e44d0dd90846582249cc26230f249e6a63 (patch) | |
tree | 316a4e5bd8d94568c4eb5a470351404c95bf3117 /target/imagebuilder/files | |
parent | c3e31b6a9b040912be0b532f9bf29d91c6c74382 (diff) | |
download | upstream-bf21b6e44d0dd90846582249cc26230f249e6a63.tar.gz upstream-bf21b6e44d0dd90846582249cc26230f249e6a63.tar.bz2 upstream-bf21b6e44d0dd90846582249cc26230f249e6a63.zip |
lantiq: ltq-tapi: fix compatibility with Linux 4.15+
Linux 4.15 removes the init_timer() API. It's replaced by two functions:
- timer_setup() is used instead of init_timer() and also replaces the
timer "function" (callback) setup.
- from_timer() has to be used to obtain the use-case specific data from
a struct timer_list, which is now passed to the timer callback.
Update the timer API to be compatible with Linux 4.15+ so it compiles
with the upcoming Linux 4.19 kernel update.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'target/imagebuilder/files')
0 files changed, 0 insertions, 0 deletions