wiznet: Add missing #include <linux/irq.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 12 Apr 2012 09:19:23 +0000 (09:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Apr 2012 19:45:29 +0000 (15:45 -0400)
m68k/allmodconfig:

drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_hw_probe’:
drivers/net/ethernet/wiznet/w5100.c:680: error: ‘IRQ_TYPE_LEVEL_LOW’ undeclared (first use in this function)
drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’:
drivers/net/ethernet/wiznet/w5300.c:594: error: ‘IRQ_TYPE_LEVEL_LOW’ undeclared (first use in this function)

Include <linux/irq.h>, which provides the declaration for IRQ_TYPE_LEVEL_LOW.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/wiznet/w5100.c
drivers/net/ethernet/wiznet/w5300.c

index a4079d7d1af09dff4934c56781b50551a9a50c2b..18c80982fc6cf6d872c0624acb25ffec9c57329d 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/gpio.h>
 
 #define DRV_NAME       "w5100"
index 7bede7f5defa3ee9904e31fe412ee814113bc1d6..f36addf9d2f6b57d7ef5abc00627c3fdfe2c3200 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/gpio.h>
 
 #define DRV_NAME       "w5300"