summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Tenart2018-07-09 17:00:43 +0200
committerDavid S. Miller2018-07-12 07:56:52 +0200
commitb32b088181b96035e187cdd4a69813f04ba20380 (patch)
tree2139e7aa510ca7259326987b0fc39c904d852b7c
parentcnic: use kvzalloc to allocate memory for csk_tbl (diff)
downloadkernel-qcow2-linux-b32b088181b96035e187cdd4a69813f04ba20380.tar.gz
kernel-qcow2-linux-b32b088181b96035e187cdd4a69813f04ba20380.tar.xz
kernel-qcow2-linux-b32b088181b96035e187cdd4a69813f04ba20380.zip
net: mvpp2: explicitly include linux/interrupt.h
The Marvell PPv2 driver uses interrupts and tasklet but does not explicitly include linux/interrupt.h, relying on implicit includes. This one particularly is included by chance after a long unlogical chain of inclusions. Fix this so we do not get future build breaks. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/marvell/mvpp2/mvpp2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h
index 81a66cce7fa8..18834619bb3a 100644
--- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h
+++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h
@@ -12,6 +12,7 @@
#ifndef _MVPP2_H_
#define _MVPP2_H_
+#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/phy.h>