qcacmn: Use wakeup_source_register when WAKEUP_SOURCE_DEV is def
Currently, the kernel APIs wakeup_source_register are used for kernel version 4.19.110 and higher in sync with the upstream kernel. But in downstream kernel, the same has been introduced from 4.19.80. To accommodate compatibility with both, use a downstream compiler flag to indicate when to use the kernel APIs. Change-Id: I7c2d439aa8c859d92b4bbdbdd5034861c0c98e75 CRs-Fixed: 2679523
Loading
Please register or sign in to comment