diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-06-17 14:24:32 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-06-18 03:49:44 -0700 |
commit | 140d90098fed269eac61551b4e84fdbcc917843e (patch) | |
tree | 2c1fc88ca3d46fcb33d2afb2ddf9f8c83a4e39d5 /arch/arm/mach-ixp4xx/vulcan-setup.c | |
parent | 4ea10150ea00ec4b111b441797199a177fbd05f4 (diff) | |
download | linux-140d90098fed269eac61551b4e84fdbcc917843e.tar.bz2 |
ARM: ixp4xx: include irqs.h where needed
Multiple ixp4xx specific files require macros from irqs.h that
were moved out from mach/irqs.h, e.g.:
arch/arm/mach-ixp4xx/vulcan-pci.c:41:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
arch/arm/mach-ixp4xx/vulcan-pci.c:49:10: error: implicit declaration of function 'IXP4XX_GPIO_IRQ' [-Werror,-Wimplicit-function-declaration]
return IXP4XX_GPIO_IRQ(INTA);
Include this header in all files that failed to build because of
that.
Fixes: dc8ef8cd3a05 ("ARM: ixp4xx: Convert to SPARSE_IRQ")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ixp4xx/vulcan-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/vulcan-setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/vulcan-setup.c b/arch/arm/mach-ixp4xx/vulcan-setup.c index 2c03d2f6b647..d2ebb7c675a8 100644 --- a/arch/arm/mach-ixp4xx/vulcan-setup.c +++ b/arch/arm/mach-ixp4xx/vulcan-setup.c @@ -22,6 +22,8 @@ #include <asm/mach/arch.h> #include <asm/mach/flash.h> +#include "irqs.h" + static struct flash_platform_data vulcan_flash_data = { .map_name = "cfi_probe", .width = 2, |