[PATCH -next] net/m68k: Include <linux/interrupt.h> where needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



arch/m68k/emu/nfeth.c: In function ânfeth_initâ:
arch/m68k/emu/nfeth.c:243: error: implicit declaration of function ârequest_irqâ
arch/m68k/emu/nfeth.c:243: error: âIRQF_SHAREDâ undeclared (first use in this function)
arch/m68k/emu/nfeth.c:243: error: (Each undeclared identifier is reported only once
arch/m68k/emu/nfeth.c:243: error: for each function it appears in.)
arch/m68k/emu/nfeth.c: In function ânfeth_cleanupâ:
arch/m68k/emu/nfeth.c:266: error: implicit declaration of function âfree_irqâ
drivers/net/apne.c: In function âapne_probeâ:
drivers/net/apne.c:189: error: implicit declaration of function âfree_irqâ
drivers/net/apne.c: In function âapne_probe1â:
drivers/net/apne.c:317: error: implicit declaration of function ârequest_irqâ
drivers/net/apne.c:317: error: âIRQF_SHAREDâ undeclared (first use in this function)
drivers/net/apne.c:317: error: (Each undeclared identifier is reported only once
drivers/net/apne.c:317: error: for each function it appears in.)

Introduced by commit a6b7a407865a ("net: remove interrupt.h inclusion from
netdevice.h").

Include <linux/interrupt.h> in the individual drivers to fix the build.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
 arch/m68k/emu/nfeth.c |    1 +
 drivers/net/apne.c    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/m68k/emu/nfeth.c b/arch/m68k/emu/nfeth.c
index 8b6e201..3c55312 100644
--- a/arch/m68k/emu/nfeth.c
+++ b/arch/m68k/emu/nfeth.c
@@ -16,6 +16,7 @@
 
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
+#include <linux/interrupt.h>
 #include <linux/module.h>
 #include <asm/natfeat.h>
 #include <asm/virtconvert.h>
diff --git a/drivers/net/apne.c b/drivers/net/apne.c
index 2fe60f1..5477373 100644
--- a/drivers/net/apne.c
+++ b/drivers/net/apne.c
@@ -36,6 +36,7 @@
 #include <linux/delay.h>
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
+#include <linux/interrupt.h>
 #include <linux/jiffies.h>
 
 #include <asm/system.h>
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux