Browse Source

qcacmn: make napier_emu_ioremap static

make napier_emu_ioremap static since it has no prototype.

Change-Id: I3ef627d3b1d21e96a8fd0ea6795ef7bfcc265c36
CRs-Fixed: 1115552
Houston Hoffman 8 năm trước cách đây
mục cha
commit
64c32443c0
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      hif/src/pcie/if_pci.c

+ 3 - 1
hif/src/pcie/if_pci.c

@@ -112,8 +112,9 @@ void hif_pci_route_adrastea_interrupt(struct hif_pci_softc *sc)
 #endif
 
 
+#ifndef CONFIG_PLD_PCIE_INIT
 #ifdef QCA_WIFI_NAPIER_EMULATION
-void __iomem *napier_emu_ioremap(struct pci_dev *dev,
+static void __iomem *napier_emu_ioremap(struct pci_dev *dev,
 		int bar, unsigned long maxlen)
 {
 	resource_size_t start = pci_resource_start(dev, bar);
@@ -133,6 +134,7 @@ void __iomem *napier_emu_ioremap(struct pci_dev *dev,
 	return NULL;
 }
 #endif
+#endif
 
 
 /**