diff options
| author | CNSS_WLAN Service <cnssbldsw@qualcomm.com> | 2018-11-29 11:11:15 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-11-29 11:11:15 -0800 |
| commit | fc2ef40c85b875fe9a702d87abff40d2f19816c1 (patch) | |
| tree | 6c3ebe0f042dad8691f022033aecf6de5a63169b | |
| parent | 435d78048b00307dc734ceef4436ecc9347348c7 (diff) | |
| parent | fb0a3aaa1e3bf02cb04b473eee227bff06b114f5 (diff) | |
Merge "qcacld-2.0: Don't define pci related api if HIF_PCI isn't defined" into wlan-cld2.driver.lnx.1.0
| -rw-r--r-- | CORE/VOSS/inc/vos_cnss.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/VOSS/inc/vos_cnss.h b/CORE/VOSS/inc/vos_cnss.h index 8bfae8619cb4..51e1eaf316e4 100644 --- a/CORE/VOSS/inc/vos_cnss.h +++ b/CORE/VOSS/inc/vos_cnss.h @@ -51,12 +51,13 @@ enum cnss_cc_src { CNSS_SOURCE_11D, CNSS_SOURCE_USER }; - +#ifdef HIF_PCI static inline void vos_wlan_pci_link_down(void){ return; } static inline int vos_pcie_shadow_control(struct pci_dev *dev, bool enable) { return -ENODEV; } +#endif static inline u8 *vos_get_cnss_wlan_mac_buff(struct device *dev, uint32_t *num) { |
