qcacmn: Conditionaly compile hif_pci_probe_tgt_wakeup

hif_pci_probe_tgt_wakeup has been made static, so the compilation
must follow its conditional use.

Change-Id: I4c289ed7c7bb8c5b6fbde265c37dc0c3665b81fa
CRs-Fixed: 1096402
This commit is contained in:
Houston Hoffman
2016-12-01 15:11:06 -08:00
committed by qcabuildsw
parent 91b3c3925b
commit 6a5fff6bec

View File

@@ -2264,6 +2264,7 @@ static void hif_disable_pci(struct hif_pci_softc *sc)
pci_disable_device(sc->pdev); pci_disable_device(sc->pdev);
} }
#ifndef QCA_WIFI_NAPIER_EMULATION
static int hif_pci_probe_tgt_wakeup(struct hif_pci_softc *sc) static int hif_pci_probe_tgt_wakeup(struct hif_pci_softc *sc)
{ {
int ret = 0; int ret = 0;
@@ -2331,6 +2332,7 @@ static int hif_pci_probe_tgt_wakeup(struct hif_pci_softc *sc)
end: end:
return ret; return ret;
} }
#endif
static void wlan_tasklet_msi(unsigned long data) static void wlan_tasklet_msi(unsigned long data)
{ {