log: kernel4.19 compile error [1/1]
authorLiqiang Jin <liqiang.jin@amlogic.com>
Tue, 23 Jul 2019 10:31:25 +0000 (18:31 +0800)
committerLiqiang Jin <liqiang.jin@amlogic.com>
Wed, 24 Jul 2019 07:03:16 +0000 (15:03 +0800)
commit02eed4885eab63fc8b77f6d1ca620a57b0afee9a
tree31abfe327743957ba0654045f909db0c5927ef5b
parent5e6a685d4d7c0de80e4494f53bd885cc2236a663
log: kernel4.19 compile error [1/1]

PD#SWPL-9652

Problem:
init_timer() function not exist in kernel4.19

Solution:
1) use setup_timer() to init timer in kernel4.9
2) use timer_setup() to init timer in kernel4.19

Verify:
Android P + U200

Change-Id: Ie9e12494a9b16eb6432a01cf8b503bae4c019023
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
optee/log.c