Skip to contentSkip to conversation

net: ethernet: mediatek: Explicitly include linux/interrupt.h

PATCH Applied Mark Brown 2 participants 2 messages Jul 20, 2017 – Jul 24, 2017

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 net: ethernet: mediatek: Explicitly include linux/interrupt.h

The mediatek ethernet driver uses interrupts but does not explicitly include linux/interrupt.h, relying on implicit includes. Fix this so we don't get build breaks as happened for ARM in next-20170720.

---
 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -0
index 7e95cf547ff1..95881ef6ee24 100644
@@ -22,6 +22,7 @@
 #include <linux/if_vlan.h>
 #include <linux/reset.h>
 #include <linux/tcp.h>
+#include <linux/interrupt.h>
 
 #include "mtk_eth_soc.h"
 
Signature · 1 line
2.13.2
maintainer Applied
#1 lore raw

From: Mark Brown <[email protected]>
Date: Thu, 20 Jul 2017 11:06:31 +0100

Quoted 5 lines

The mediatek ethernet driver uses interrupts but does not explicitly include linux/interrupt.h, relying on implicit includes. Fix this so we don't get build breaks as happened for ARM in next-20170720.

Applied, thanks.