Message ID | 20191012014421.21592-1-briannorris@chromium.org (mailing list archive) |
---|---|
State | Accepted |
Commit | c3226d93f85c27170abac78dbe233c0a0ad12d35 |
Delegated to: | Kalle Valo |
Headers | show |
Series | rtw88: include interrupt.h for tasklet_struct | expand |
> Subject: [PATCH] rtw88: include interrupt.h for tasklet_struct > > 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> Yan-Hsuan
Brian Norris <briannorris@chromium.org> wrote: > 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> Patch applied to wireless-drivers-next.git, thanks. c3226d93f85c rtw88: include interrupt.h for tasklet_struct
diff --git a/drivers/net/wireless/realtek/rtw88/main.h b/drivers/net/wireless/realtek/rtw88/main.h index f3eab96dba86..4759d6a0ca6e 100644 --- a/drivers/net/wireless/realtek/rtw88/main.h +++ b/drivers/net/wireless/realtek/rtw88/main.h @@ -11,6 +11,7 @@ #include <linux/average.h> #include <linux/bitops.h> #include <linux/bitfield.h> +#include <linux/interrupt.h> #include "util.h"
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> --- drivers/net/wireless/realtek/rtw88/main.h | 1 + 1 file changed, 1 insertion(+)