mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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: Bartosz Markowski <bartosz.markowski@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
5440ce2537
commit
4ed998dcbf
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue