diff mbox

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

Message ID 20170720100631.16040-1-broonie@kernel.org
State New
Headers show

Commit Message

Mark Brown July 20, 2017, 10:06 a.m. UTC
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.

Signed-off-by: Mark Brown <broonie@kernel.org>

---
 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.2

Comments

David Miller July 24, 2017, 8:45 p.m. UTC | #1
From: Mark Brown <broonie@kernel.org>

Date: Thu, 20 Jul 2017 11:06:31 +0100

> 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.

> 

> Signed-off-by: Mark Brown <broonie@kernel.org>


Applied, thanks.
diff mbox

Patch

diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 7e95cf547ff1..95881ef6ee24 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -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"