Message ID | 1307607333-24612-1-git-send-email-monstr@monstr.eu |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Michal Simek <monstr@monstr.eu> Date: Thu, 9 Jun 2011 10:15:33 +0200 > 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 > > Signed-off-by: Michal Simek <monstr@monstr.eu> 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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller wrote: > From: Michal Simek <monstr@monstr.eu> > Date: Thu, 9 Jun 2011 10:15:33 +0200 > >> 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 >> >> Signed-off-by: Michal Simek <monstr@monstr.eu> > > 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
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 372572c..9cb4cdc 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -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"
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 Signed-off-by: Michal Simek <monstr@monstr.eu> --- drivers/net/xilinx_emaclite.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)