Browse Source

qcacmn: Add static flag to cnss_wlan_pci_link_down definition

A definition of cnss_wlan_pci_link_down in a header file
did not have the static keyword.

Change-Id: I701682486a8db2c0cfce839706aacb85757df616
CRs-Fixed: 1003817
Houston Hoffman 9 years ago
parent
commit
4b7ebcfb01
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hif/src/pcie/cnss_stub.h

+ 2 - 2
hif/src/pcie/cnss_stub.h

@@ -29,9 +29,9 @@
 #define __CNSS_STUB_H__
 
 #ifndef CONFIG_CNSS
-inline void cnss_wlan_pci_link_down(void) {}
+static inline void cnss_wlan_pci_link_down(void) {}
 
-inline int cnss_pcie_shadow_control(struct pci_dev *dev, bool enable)
+static inline int cnss_pcie_shadow_control(struct pci_dev *dev, bool enable)
 {
 	return 0;
 }