bus: fsl-mc: fix implicit irq include causing build fails
Subsystems (2)
To fix:
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’
irqreturn_t dpaa2_io_irq(struct dpaa2_io *obj);
^
as seen on arm64 allmodconfig builds.
---
[Seen on current linux-next tree.]
drivers/staging/fsl-mc/include/dpaa2-io.h | 1 + 1 file changed, 1 insertion(+)
drivers/staging/fsl-mc/include/dpaa2-io.h +1 -0
@@ -34,6 +34,7 @@#include <linux/types.h> #include <linux/cpumask.h> +#include <linux/interrupt.h> #include "dpaa2-fd.h" #include "dpaa2-global.h"
Signature · 1 line
2.11.0
Greg Kroah-Hartman
maintainerQuoted 26 lines · Paul Gortmaker
To fix:
In file included from
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h:39:0,
fromdrivers/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’
irqreturn_tdpaa2_io_irq(struct dpaa2_io *obj);
^as seen on arm64 allmodconfig builds.
Cc Stuart Yoder <[email protected]>Cc Laurentiu Tudor <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>---
[Seen on current linux-next tree.]
drivers/staging/fsl-mc/include/dpaa2-io.h | 1 + 1 file changed, 1 insertion(+)drivers/staging/fsl-mc/include/dpaa2-io.h +0
-0
drivers/staging/fsl-mc/include/dpaa2-io.h line 40
Quoted 7 lines
drivers/staging/fsl-mc/include/dpaa2-io.h +1
-0@@ -34,6 +34,7 @@#include <linux/types.h> #include <linux/cpumask.h> +#include <linux/interrupt.h> #include "dpaa2-fd.h" #include "dpaa2-global.h"
This does not apply to my tree :(