mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Fix NAPI compilation issue for ext group interrupts
In current code ext group interrupts are not support. Defined these
functions to NULL to avoid compilation issue.
Change-Id: I7e1e027a3faabce1a8844606c5c5c3a412256ded
CRs-Fixed: 1088926
This commit is contained in:
parent
21019a75ea
commit
aefb2f4dc4
1 changed files with 7 additions and 7 deletions
|
|
@ -214,9 +214,6 @@ 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; }
|
||||
|
||||
static inline int hif_ext_napi_enabled(struct hif_opaque_softc *hif, int ce)
|
||||
{ return 0; }
|
||||
|
||||
/* called from hdd (napi_poll), using napi id as a selector */
|
||||
static inline void hif_napi_enable_irq(struct hif_opaque_softc *hif, int id)
|
||||
{ return; }
|
||||
|
|
@ -224,13 +221,16 @@ static inline void hif_napi_enable_irq(struct hif_opaque_softc *hif, int id)
|
|||
static inline int hif_napi_schedule(struct hif_opaque_softc *hif, int ce_id)
|
||||
{ return 0; }
|
||||
|
||||
static inline int hif_napi_schedule_grp(struct hif_opaque_softc *hif,
|
||||
uint32_t grp_id)
|
||||
{ return 0; }
|
||||
|
||||
static inline int hif_napi_poll(struct napi_struct *napi, int budget)
|
||||
{ return -EPERM; }
|
||||
|
||||
#endif /* FEATURE_NAPI */
|
||||
|
||||
static inline int hif_ext_napi_enabled(struct hif_opaque_softc *hif, int ce)
|
||||
{ return 0; }
|
||||
|
||||
static inline int hif_napi_schedule_grp(struct hif_opaque_softc *hif,
|
||||
uint32_t grp_id)
|
||||
{ return 0; }
|
||||
|
||||
#endif /* __HIF_NAPI_H__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue