Add SDIO polling function definition into debug.h Signed-off-by: Sangwook Lee <sangwook.lee@xxxxxxxxxx> --- drivers/net/wireless/ath/ath6kl/debug.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h index 9288a3c..bbe4a39 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.h +++ b/drivers/net/wireless/ath/ath6kl/debug.h @@ -133,6 +133,31 @@ static inline int ath6kl_debug_init(struct ath6kl *ar) static inline void ath6kl_debug_cleanup(struct ath6kl *ar) { } +#endif + +#ifdef CONFIG_ATH6KL_SDIO_POLL +void ath6kl_wd_init(struct ath6kl *ar); + +void ath6kl_wd_cleanup(struct ath6kl *ar); + +static inline int ath6kl_wd_poll_is_ture(void) +{ + return true; +} + +#else +static inline void ath6kl_wd_init(struct ath6kl *ar) +{ +} + +static inline void ath6kl_wd_cleanup(struct ath6kl *ar) +{ +} + +static inline int ath6kl_wd_poll_is_ture(void) +{ + return false; +} #endif #endif -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html