diff options
author | Arnd Bergmann | 2017-07-26 09:53:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-07-30 17:25:04 +0200 |
commit | 06ead06dde6a7ac6c54d8e5377f1039c3f44e406 (patch) | |
tree | 185d0139ebc3e8d00f949ba0b68d52b8688aaa28 /drivers/staging/fsl-mc | |
parent | staging: fsl-mc/dpio: Skip endianness conversion in portal config (diff) | |
download | kernel-qcow2-linux-06ead06dde6a7ac6c54d8e5377f1039c3f44e406.tar.gz kernel-qcow2-linux-06ead06dde6a7ac6c54d8e5377f1039c3f44e406.tar.xz kernel-qcow2-linux-06ead06dde6a7ac6c54d8e5377f1039c3f44e406.zip |
staging: fsl-mc: include irqreturn.h as needed
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r-- | drivers/staging/fsl-mc/include/dpaa2-io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/drivers/staging/fsl-mc/include/dpaa2-io.h index 002829cecd75..c5646096c5d4 100644 --- a/drivers/staging/fsl-mc/include/dpaa2-io.h +++ b/drivers/staging/fsl-mc/include/dpaa2-io.h @@ -34,6 +34,7 @@ #include <linux/types.h> #include <linux/cpumask.h> +#include <linux/irqreturn.h> #include "dpaa2-fd.h" #include "dpaa2-global.h" |