• Geert Uytterhoeven's avatar
    wiznet: Add missing #include <linux/irq.h> · 64d176fc
    Geert Uytterhoeven authored
    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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    64d176fc
w5300.c 18.4 KB