netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: sh_eth: Fix build by forgot including linux/interrupt.h
@ 2011-08-10  6:15 Nobuhiro Iwamatsu
  2011-08-14  1:02 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2011-08-10  6:15 UTC (permalink / raw)
  To: netdev; +Cc: adobriyan, Nobuhiro Iwamatsu

By a6b7a407865aab9f849dd99a71072b7cd1175116, remove interrupt.h
from netdevice.h. But this forget to revise sh_eth.

This fix the build failure.

error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_eth_interrupt'
error: implicit declaration of function 'request_irq'
error: 'sh_eth_interrupt' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
	drivers/net/sh_eth.c:1386: error: for each function it appears in.)
error: 'IRQF_SHARED' undeclared (first use in this function)
error: implicit declaration of function 'free_irq'

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Alexey Dobriyan <adobriyan@gmail.com>
---
 drivers/net/sh_eth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index ad35c21..190f619 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -21,6 +21,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <linux/dma-mapping.h>
 #include <linux/etherdevice.h>
 #include <linux/delay.h>
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: sh_eth: Fix build by forgot including linux/interrupt.h
  2011-08-10  6:15 [PATCH] net: sh_eth: Fix build by forgot including linux/interrupt.h Nobuhiro Iwamatsu
@ 2011-08-14  1:02 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-08-14  1:02 UTC (permalink / raw)
  To: nobuhiro.iwamatsu.yj; +Cc: netdev, adobriyan

From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Date: Wed, 10 Aug 2011 15:15:50 +0900

> By a6b7a407865aab9f849dd99a71072b7cd1175116, remove interrupt.h
> from netdevice.h. But this forget to revise sh_eth.
> 
> This fix the build failure.
> 
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_eth_interrupt'
> error: implicit declaration of function 'request_irq'
> error: 'sh_eth_interrupt' undeclared (first use in this function)
> error: (Each undeclared identifier is reported only once
> 	drivers/net/sh_eth.c:1386: error: for each function it appears in.)
> error: 'IRQF_SHARED' undeclared (first use in this function)
> error: implicit declaration of function 'free_irq'
> 
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> CC: Alexey Dobriyan <adobriyan@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-14  1:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-10  6:15 [PATCH] net: sh_eth: Fix build by forgot including linux/interrupt.h Nobuhiro Iwamatsu
2011-08-14  1:02 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).