Pārlūkot izejas kodu

qcacld-3.0: Enable MSM_PLATFORM for Kernel 4.4

Kernel 4.4 is using CONFIG_ARCH_MSMCOBALT instead of CONFIG_ARCH_MSM.
Enable MSM_PLATFORM flag when CONFIG_ARCH_MSMCOBALT is defined.

CRs-Fixed: 998798
Change-Id: I718560c7925376b1dd3b00bd56724ca67eda92b7
Yuanyuan Liu 9 gadi atpakaļ
vecāks
revīzija
5af44367d5
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      Kbuild

+ 4 - 0
Kbuild

@@ -964,6 +964,10 @@ ifeq ($(CONFIG_ARCH_MSM), y)
 CDEFINES += -DMSM_PLATFORM
 endif
 
+ifeq ($(CONFIG_ARCH_MSMCOBALT), y)
+CDEFINES += -DMSM_PLATFORM
+endif
+
 CDEFINES +=	-DQCA_SUPPORT_TXRX_LOCAL_PEER_ID
 
 ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y)