瀏覽代碼

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 年之前
父節點
當前提交
88e627fbf8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);