commit | 0a26d8d2c1135af856e6b9fbdf3ee6176cde6a05 | [log] [tgz] |
---|---|---|
author | Alan Chen <alache@codeaurora.org> | Wed Nov 13 16:06:01 2019 -0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Sun Dec 01 19:17:25 2019 -0800 |
tree | afd7b6237ab3be48d7a4dd807486cb9301a442d1 | |
parent | a9d46ad930de3b23df30c4b0fc7689b342dd0ace [diff] |
qcacmn: Add conditional macros for creating/destroying wakelocks Kernel 5.4 and 5.1 have removed the functions wakeup_source_init() and wakeup_source_trash() respectively. Add conditional preprocessor directives to use wakeup_source_register() and wakeup_source_unregister() for Kernels 5.4 and 5.1 respectively. Change-Id: I05597eb54b2988f7bc203b53427e17980a7473f9 CRs-Fixed: 2559016