gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / ath / ath10k / testmode.h
blob6488fd514ae351f5a49a8f7fbd80bd7f97585f67
1 /* SPDX-License-Identifier: ISC */
2 /*
3 * Copyright (c) 2014 Qualcomm Atheros, Inc.
4 */
6 #include "core.h"
8 #ifdef CONFIG_NL80211_TESTMODE
10 void ath10k_testmode_destroy(struct ath10k *ar);
12 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb);
13 int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
14 void *data, int len);
16 #else
18 static inline void ath10k_testmode_destroy(struct ath10k *ar)
22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id,
23 struct sk_buff *skb)
25 return false;
28 static inline int ath10k_tm_cmd(struct ieee80211_hw *hw,
29 struct ieee80211_vif *vif,
30 void *data, int len)
32 return 0;
35 #endif