diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-04-12 13:19:23 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-12 23:45:29 +0400 |
commit | 64d176fce1a28c7cef2f239936b760ed61c59586 (patch) | |
tree | 64ca26dbe0e8a3d4b853aa4175c6280a22b742ea | |
parent | 376b16f409232385db0f80faa0711b03fe404616 (diff) | |
download | linux-64d176fce1a28c7cef2f239936b760ed61c59586.tar.xz |
wiznet: Add missing #include <linux/irq.h>
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>
-rw-r--r-- | drivers/net/ethernet/wiznet/w5100.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/wiznet/w5300.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c index a4079d7d1af0..18c80982fc6c 100644 --- a/drivers/net/ethernet/wiznet/w5100.c +++ b/drivers/net/ethernet/wiznet/w5100.c @@ -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" diff --git a/drivers/net/ethernet/wiznet/w5300.c b/drivers/net/ethernet/wiznet/w5300.c index 7bede7f5defa..f36addf9d2f6 100644 --- a/drivers/net/ethernet/wiznet/w5300.c +++ b/drivers/net/ethernet/wiznet/w5300.c @@ -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" |