提交 4ed998dc 编写于 作者: B Bartosz Markowski 提交者: Kalle Valo

ath10k: define ath10k_debug_start/_stop as static inline

Otherwise if CONFIG_ATH10K_DEBUGFS won't be set we will
end up with multiple definitions and compilation failure
in each place the header is included.
Signed-off-by: NBartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 5440ce25
......@@ -52,12 +52,12 @@ void ath10k_debug_read_target_stats(struct ath10k *ar,
struct wmi_stats_event *ev);
#else
int ath10k_debug_start(struct ath10k *ar)
static inline int ath10k_debug_start(struct ath10k *ar)
{
return 0;
}
void ath10k_debug_stop(struct ath10k *ar)
static inline void ath10k_debug_stop(struct ath10k *ar)
{
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册