drivers: net: add missing interrupt.h include
authorFlorian Westphal <fw@strlen.de>
Mon, 17 Jul 2017 11:57:18 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:13:41 +0000 (11:13 -0700)
these drivers use tasklets or irq apis, but don't include interrupt.h.
Once flow cache is removed the implicit interrupt.h inclusion goes away
which will break the build.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/arcdevice.h
drivers/net/ethernet/amd/xgbe/xgbe.h
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
drivers/net/ieee802154/ca8210.c

index cbb4f8566bbe58a72eae8bbec0633b83687c5e13..d09b2b46ab63c7298140cdef507d9257d537ad95 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/if_arcnet.h>
 
 #ifdef __KERNEL__
-#include  <linux/irqreturn.h>
+#include <linux/interrupt.h>
 
 /*
  * RECON_THRESHOLD is the maximum number of RECON messages to receive
index 0938294f640a64127988310dae4f103051d74dfb..e9282c9246210344d79a626cac9d7bcbfb49a1ff 100644 (file)
 #include <net/dcbnl.h>
 #include <linux/completion.h>
 #include <linux/cpumask.h>
+#include <linux/interrupt.h>
 
 #define XGBE_DRV_NAME          "amd-xgbe"
 #define XGBE_DRV_VERSION       "1.0.3"
index 3b91257683bc71ace3a553c522c5cf873e6047fc..e1b55b8fb8e0917d6fa8537ff029e52d29371ca1 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <linux/netdevice.h>
 #include <linux/tcp.h>
+#include <linux/interrupt.h>
 
 #include "dwc-xlgmac.h"
 #include "dwc-xlgmac-reg.h"
index a626c539fb17ffcb78f1508566aa90fbbe99481d..326243fae7e27fa93d73d2f0806b25a8f0a3ba77 100644 (file)
@@ -66,6 +66,7 @@
 #include <linux/spinlock.h>
 #include <linux/string.h>
 #include <linux/workqueue.h>
+#include <linux/interrupt.h>
 
 #include <net/ieee802154_netdev.h>
 #include <net/mac802154.h>