rtw88: include interrupt.h for tasklet_struct
authorBrian Norris <briannorris@chromium.org>
Sat, 12 Oct 2019 01:44:21 +0000 (18:44 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 14 Oct 2019 09:11:57 +0000 (12:11 +0300)
Depending on implicit header includes, we might see this compilation
error:

.../main.h:1391:24: error: field has incomplete type 'struct tasklet_struct'
        struct tasklet_struct tx_tasklet;
                              ^

Fixes: 3745d3e550d1 ("rtw88: add driver TX queue support")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Acked-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/main.h

index f3eab96..4759d6a 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/average.h>
 #include <linux/bitops.h>
 #include <linux/bitfield.h>
+#include <linux/interrupt.h>
 
 #include "util.h"