qcacld-3.0: Use PLD internal flags

Use PLD internal flags in PLD layer instead of using CNSS/ICNSS
kernel flags.

CRs-Fixed: 1018099
Change-Id: Id32c62ccd1749ef5a38fd11aba6ce6e4fbe84a6e
diff --git a/core/pld/src/pld_pcie.h b/core/pld/src/pld_pcie.h
index 63d0742..d837154 100644
--- a/core/pld/src/pld_pcie.h
+++ b/core/pld/src/pld_pcie.h
@@ -51,7 +51,7 @@
 int pld_pcie_get_ce_id(int irq);
 #endif
 
-#if (!defined(CONFIG_CNSS)) || (!defined(QCA_WIFI_3_0_ADRASTEA))
+#if (!defined(CONFIG_PLD_PCIE_CNSS)) || (!defined(QCA_WIFI_3_0_ADRASTEA))
 static inline int pld_pcie_wlan_enable(struct pld_wlan_enable_cfg *config,
 		    enum pld_driver_mode mode, const char *host_version)
 {
@@ -76,7 +76,7 @@
 int pld_pcie_set_fw_debug_mode(bool enablefwlog);
 #endif
 
-#if (!defined(CONFIG_CNSS)) || (!defined(CONFIG_CNSS_SECURE_FW))
+#if (!defined(CONFIG_PLD_PCIE_CNSS)) || (!defined(CONFIG_CNSS_SECURE_FW))
 static inline int cnss_get_sha_hash(const u8 *data,
 				    u32 data_len, u8 *hash_idx, u8 *out)
 {
@@ -88,15 +88,14 @@
 }
 #endif
 
-#if (!defined(CONFIG_CNSS)) || (!defined(CONFIG_PCI_MSM))
+#if (!defined(CONFIG_PLD_PCIE_CNSS)) || (!defined(CONFIG_PCI_MSM))
 static inline int cnss_wlan_pm_control(bool vote)
 {
 	return 0;
 }
 #endif
 
-#ifndef CONFIG_CNSS
-
+#ifndef CONFIG_PLD_PCIE_CNSS
 static inline int
 pld_pcie_get_fw_files_for_target(struct pld_fw_files *pfw_files,
 				 u32 target_type, u32 target_version)