net: emaclite: Add missing linux/interrupt.h header
Subsystems (3)
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
@@ -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
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 2Signed-off-by Michal Simek <[email protected]>
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.
Quoted 12 lines · David Miller
From: Michal Simek <[email protected]>
Date: Thu, 9 Jun 2011 10:15:33 +0200Quoted 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
Signed-off-by Michal Simek <[email protected]>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