net: mvpp2: explicitly include linux/interrupt.h
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 9 Jul 2018 15:00:43 +0000 (17:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 05:56:52 +0000 (22:56 -0700)
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>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h

index 81a66cce7fa870783ccf0ef324a1cd72d30f6e32..18834619bb3a04a26364c60f3493d1a18d248fb9 100644 (file)
@@ -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>