Skip to contentSkip to conversation

net: emaclite: Add missing linux/interrupt.h header

PATCH Applied Michal Simek 2 participants 3 messages Jun 9, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: emaclite: Add missing linux/interrupt.h header

Log:
drivers/net/xilinx_emaclite.c: In function 'xemaclite_open':
drivers/net/xilinx_emaclite.c:961: error: implicit declaration of function 'request_irq' drivers/net/xilinx_emaclite.c: In function 'xemaclite_close':
drivers/net/xilinx_emaclite.c:995: error: implicit declaration of function 'free_irq' make[2]: *** [drivers/net/xilinx_emaclite.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

---
 drivers/net/xilinx_emaclite.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/xilinx_emaclite.c +1 -0
index 372572c..9cb4cdc 100644
@@ -26,6 +26,7 @@
 #include <linux/of_mdio.h>
 #include <linux/of_net.h>
 #include <linux/phy.h>
+#include <linux/interrupt.h>
 
 #define DRIVER_NAME "xilinx_emaclite"
 
Signature · 1 line
1.5.5.6
maintainer Applied
#1 lore raw

From: Michal Simek <[email protected]>
Date: Thu, 9 Jun 2011 10:15:33 +0200

Quoted 10 lines

Log:
drivers/net/xilinx_emaclite.c: In function 'xemaclite_open':
drivers/net/xilinx_emaclite.c:961: error: implicit declaration of function 'request_irq' drivers/net/xilinx_emaclite.c: In function 'xemaclite_close':
drivers/net/xilinx_emaclite.c:995: error: implicit declaration of function 'free_irq' make[2]: *** [drivers/net/xilinx_emaclite.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

This is only relevant for the -next tree, you should specify that when submitting patches otherwise the maintainer not apply the patch where it actually belongs.

Applied, thanks.

#2 lore raw
Quoted 12 lines · David Miller

From: Michal Simek <[email protected]>
Date: Thu, 9 Jun 2011 10:15:33 +0200

Quoted 9 lines

Log:
drivers/net/xilinx_emaclite.c: In function 'xemaclite_open':
drivers/net/xilinx_emaclite.c:961: error: implicit declaration of function 'request_irq' drivers/net/xilinx_emaclite.c: In function 'xemaclite_close':
drivers/net/xilinx_emaclite.c:995: error: implicit declaration of function 'free_irq' make[2]: *** [drivers/net/xilinx_emaclite.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Quoted 5 lines
Quoted 1 line

This is only relevant for the -next tree, you should specify that when submitting patches otherwise the maintainer not apply the patch where it actually belongs.

sorry for that. Yes, it is for -next tree.

Michal

Signature · 4 lines
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian