From: John W. Linville Date: Wed, 2 Jun 2010 20:53:58 +0000 (-0400) Subject: ath9k_htc: fix build error when ATH9K_HTC_DEBUGFS not enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed3305b4bb1fadff22e2f254bccfb3301e0b6b4f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ath9k_htc: fix build error when ATH9K_HTC_DEBUGFS not enabled Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index bf2bd4211c8..ba86458a3ca 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -289,6 +289,8 @@ struct ath9k_debug { #define TX_STAT_INC(c) do { } while (0) #define RX_STAT_INC(c) do { } while (0) +#define TX_QSTAT_INC(c) do { } while (0) + #endif /* CONFIG_ATH9K_HTC_DEBUGFS */ #define ATH_LED_PIN_DEF 1