diff mbox

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

Message ID 1307607333-24612-1-git-send-email-monstr@monstr.eu
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Michal Simek June 9, 2011, 8:15 a.m. UTC
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(-)

Comments

David Miller June 9, 2011, 8:29 a.m. UTC | #1
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
Michal Simek June 9, 2011, 8:56 a.m. UTC | #2
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 mbox

Patch

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"