qcacld-3.0: Use IS_ENABLED for the definition of kernel module

Add support and use IS_ENABLED in code, if CONFIG_IPA3 config as
loadable kernel module.

Change-Id: Iaf86c9da2a9946aac09867b5c46dcc79f1b5c37e
CRs-Fixed: 2701642
This commit is contained in:
Vevek Venkatesan
2020-06-02 19:57:33 +05:30
committed by nshrivas
parent 928bce4387
commit dd91edd508
10 changed files with 35 additions and 11 deletions

View File

@@ -36,7 +36,10 @@ endif
ifeq ($(CONFIG_IPA), y)
CONFIG_IPA_OFFLOAD := y
endif
ifeq ($(CONFIG_IPA3), y)
ifeq ($(CONFIG_IPA3), m)
CONFIG_IPA3_MODULE := y
endif
ifeq (y, $(findstring y, $(CONFIG_IPA3) $(CONFIG_IPA3_MODULE)))
CONFIG_IPA_OFFLOAD := y
endif