Browse Source

qcacld-3.0: Allow to access API cnss_get_pci_slot on msm-5.4 platform

Change 4605350 already added API cnss_get_pci_slot on msm-5.4 platform.

Change-Id: I4eedbc1e142f2a4aa2a54348561604198c688208
CRs-Fixed: 3474848
Yu Ouyang 1 year ago
parent
commit
88e627fbf8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/pld/src/pld_pcie.h

+ 1 - 1
core/pld/src/pld_pcie.h

@@ -792,7 +792,7 @@ static inline void pld_pcie_unlock_reg_window(struct device *dev,
 	cnss_pci_unlock_reg_window(dev, flags);
 }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
 static inline int pld_pcie_get_pci_slot(struct device *dev)
 {
 	return cnss_get_pci_slot(dev);