]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: add needed interrupt.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 8 Jun 2011 05:49:33 +0000 (15:49 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2011 07:15:34 +0000 (00:15 -0700)
Fixes these errors after the removal of interrupt.h from netdevice.h:

drivers/net/ll_temac_main.c: In function 'temac_open':
drivers/net/ll_temac_main.c:859:2: error: implicit declaration of function 'request_irq'
drivers/net/ll_temac_main.c:870:2: error: implicit declaration of function 'free_irq'
drivers/net/ll_temac_main.c: In function 'temac_poll_controller':
drivers/net/ll_temac_main.c:903:2: error: implicit declaration of function 'disable_irq'
drivers/net/ll_temac_main.c:909:2: error: implicit declaration of function 'enable_irq'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ll_temac_main.c

index b7948ccfcf7d4e4f2d51d724d7a32057767b9e20..e7b8afec73a15137d4001a82d469501a0a83ed80 100644 (file)
@@ -48,6 +48,7 @@
 #include <linux/io.h>
 #include <linux/ip.h>
 #include <linux/slab.h>
+#include <linux/interrupt.h>
 
 #include "ll_temac.h"