• Arnd Bergmann's avatar
    staging: fsl-mc: include irqreturn.h as needed · 06ead06d
    Arnd Bergmann authored
    The recent reshuffling of header files left one type definition
    missing in some configurations:
    
    In file included from drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h:39:0,
                     from drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c:34:
    drivers/staging/fsl-dpaa2/ethernet/../../fsl-mc/include/dpaa2-io.h:86:1: error: unknown type name 'irqreturn_t'; did you mean 'irq_count'?
     irqreturn_t dpaa2_io_irq(struct dpaa2_io *obj);
    
    I have not bisected this to the exact patch that introduced the problem,
    but the solution is obvious, we just need to include the header that
    contains the type.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    06ead06d
dpaa2-io.h 5.28 KB