X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fadf%2Fadf_os_defer_pvt.h;h=66b4ee836b9d381d7196f74b337078ff30f88746;hp=525a7f422336456a1260ccd4d1cf26fb71eac2db;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=a2fe6b1f6253377c952c224d4ec9d55b196660ce diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_defer_pvt.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_defer_pvt.h index 525a7f4..66b4ee8 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_defer_pvt.h +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_defer_pvt.h @@ -66,13 +66,13 @@ extern void __adf_os_defer_func(void *arg, int pending); /** * @brief initiallize the defer function (work or bh) - * + * * @param defer * @param func * @param arg */ static inline void __adf_os_init_defer(__adf_os_defer_t *defer, - adf_os_defer_fn_t func, + adf_os_defer_fn_t func, void *arg) { defer->ctx.caller_fn = func; @@ -97,27 +97,27 @@ static inline void __adf_os_init_bh(adf_os_handle_t hdl, //__adf_os_init_defer(bh, func, arg); A_TASKLET_INIT_TASK(func, arg, bh); } -static inline void __adf_os_sched_work(adf_os_handle_t hdl, +static inline void __adf_os_sched_work(adf_os_handle_t hdl, __adf_os_work_t * work) { //taskqueue_enqueue(taskqueue_thread, &work->tsk); } -static inline void __adf_os_disable_work(adf_os_handle_t hdl, +static inline void __adf_os_disable_work(adf_os_handle_t hdl, __adf_os_work_t * work) { //taskqueue_drain(taskqueue_thread, &work->tsk); } -static inline void __adf_os_sched_bh(adf_os_handle_t hdl, +static inline void __adf_os_sched_bh(adf_os_handle_t hdl, __adf_os_bh_t * bh) { A_TASKLET_SCHEDULE(bh); } -static inline void __adf_os_disable_bh(adf_os_handle_t hdl, +static inline void __adf_os_disable_bh(adf_os_handle_t hdl, __adf_os_bh_t * bh) { A_TASKLET_DISABLE(bh); } -#endif +#endif