linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ftgmac100/ftmac100: add missing interrupt.h include
@ 2012-01-18 23:45 Thomas Faber
  2012-01-19  2:01 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Faber @ 2012-01-18 23:45 UTC (permalink / raw)
  To: David S. Miller, Po-Yu Chuang; +Cc: netdev, linux-kernel

Fixes compilation failure of these modules due to missing
irqreturn_t type for the ft(g)mac100_interrupt definition.

Signed-off-by: Thomas Faber <thfabba@gmx.de>
---
 drivers/net/ethernet/faraday/ftgmac100.c |    1 +
 drivers/net/ethernet/faraday/ftmac100.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
index fb5579a..47f85c3 100644
--- a/drivers/net/ethernet/faraday/ftgmac100.c
+++ b/drivers/net/ethernet/faraday/ftgmac100.c
@@ -25,6 +25,7 @@
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c
index a127cb2..bb336a0 100644
--- a/drivers/net/ethernet/faraday/ftmac100.c
+++ b/drivers/net/ethernet/faraday/ftmac100.c
@@ -25,6 +25,7 @@
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/mii.h>
 #include <linux/module.h>
--
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: ftgmac100/ftmac100: add missing interrupt.h include
  2012-01-18 23:45 [PATCH] net: ftgmac100/ftmac100: add missing interrupt.h include Thomas Faber
@ 2012-01-19  2:01 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-01-19  2:01 UTC (permalink / raw)
  To: thfabba; +Cc: ratbert, netdev, linux-kernel

From: Thomas Faber <thfabba@gmx.de>
Date: Thu, 19 Jan 2012 00:45:44 +0100

> Fixes compilation failure of these modules due to missing
> irqreturn_t type for the ft(g)mac100_interrupt definition.
> 
> Signed-off-by: Thomas Faber <thfabba@gmx.de>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-19  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18 23:45 [PATCH] net: ftgmac100/ftmac100: add missing interrupt.h include Thomas Faber
2012-01-19  2:01 ` 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).