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:

committed by
nshrivas

parent
928bce4387
commit
dd91edd508
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user