qcacmn: Check CONFIG_QCOM_MINIDUMP properly
On some targets, minidump will be built as DLKM, and use IS_ENABLED macro to cover both built-in and DLKM scenario. Change-Id: I93374b83020af7122531fe282042236cae8037b3 CRs-Fixed: 3116787
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
4e9dad300a
incheckning
66822e1e46
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -31,7 +32,7 @@
|
||||
* beginning with kernel version msm-4.19 since that is
|
||||
* when msm_minidump_removerefion() was added.
|
||||
*/
|
||||
#if defined(CONFIG_QCOM_MINIDUMP) && \
|
||||
#if IS_ENABLED(CONFIG_QCOM_MINIDUMP) && \
|
||||
(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
|
||||
#define WLAN_QCOM_MINIDUMP
|
||||
#endif
|
||||
|
Referens i nytt ärende
Block a user