Browse Source

qcacmn: Fix compilation error for NAPI disable

Fix compilation error for NAPI disable

Change-Id: I21116cfa061b2c804c3a4cedf106773d538294b3
CRs-Fixed: 2266765
Nirav Shah 6 years ago
parent
commit
d250672acf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hif/src/hif_napi.h

+ 1 - 1
hif/src/hif_napi.h

@@ -246,7 +246,7 @@ static inline int hif_napi_event(struct hif_opaque_softc     *hif,
 static inline int hif_napi_enabled(struct hif_opaque_softc *hif, int ce)
 { return 0; }
 
-bool hif_napi_created(struct hif_opaque_softc *hif, int ce)
+static inline bool hif_napi_created(struct hif_opaque_softc *hif, int ce)
 { return false; }
 
 /* called from hdd (napi_poll), using napi id as a selector */