* [PATCH] net: ethernet: mediatek: Explicitly include linux/interrupt.h
@ 2017-07-20 10:06 Mark Brown
2017-07-24 20:45 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2017-07-20 10:06 UTC (permalink / raw)
To: Felix Fietkau, John Crispin, David S . Miller
Cc: netdev, linux-mediatek, Mark Brown
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(+)
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"
--
2.13.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: ethernet: mediatek: Explicitly include linux/interrupt.h
2017-07-20 10:06 [PATCH] net: ethernet: mediatek: Explicitly include linux/interrupt.h Mark Brown
@ 2017-07-24 20:45 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-07-24 20:45 UTC (permalink / raw)
To: broonie; +Cc: nbd, blogic, netdev, linux-mediatek
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-24 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 10:06 [PATCH] net: ethernet: mediatek: Explicitly include linux/interrupt.h Mark Brown
2017-07-24 20:45 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).