• Geert Uytterhoeven's avatar
    net/m68k: Include <linux/interrupt.h> where needed · ac752277
    Geert Uytterhoeven authored
    arch/m68k/emu/nfeth.c: In function ‘nfeth_init’:
    arch/m68k/emu/nfeth.c:243: error: implicit declaration of function ‘request_irq’
    arch/m68k/emu/nfeth.c:243: error: ‘IRQF_SHARED’ undeclared (first use in this function)
    arch/m68k/emu/nfeth.c:243: error: (Each undeclared identifier is reported only once
    arch/m68k/emu/nfeth.c:243: error: for each function it appears in.)
    arch/m68k/emu/nfeth.c: In function ‘nfeth_cleanup’:
    arch/m68k/emu/nfeth.c:266: error: implicit declaration of function ‘free_irq’
    drivers/net/apne.c: In function ‘apne_probe’:
    drivers/net/apne.c:189: error: implicit declaration of function ‘free_irq’
    drivers/net/apne.c: In function ‘apne_probe1’:
    drivers/net/apne.c:317: error: implicit declaration of function ‘request_irq’
    drivers/net/apne.c:317: error: ‘IRQF_SHARED’ undeclared (first use in this function)
    drivers/net/apne.c:317: error: (Each undeclared identifier is reported only once
    drivers/net/apne.c:317: error: for each function it appears in.)
    
    Introduced by commit a6b7a407 ("net: remove interrupt.h inclusion from
    netdevice.h").
    
    Include <linux/interrupt.h> in the individual drivers to fix the build.
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ac752277
nfeth.c 6.29 KB