]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: ixp4xx: include irqs.h where needed
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2019 12:24:32 +0000 (14:24 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 18 Jun 2019 10:49:44 +0000 (03:49 -0700)
commit8c32e7e6eadcdd36a421a0b9cce7e430882921a1
tree2c1fc88ca3d46fcb33d2afb2ddf9f8c83a4e39d5
parentc3932dd3091477f42d9ae0d0cc1902034f061d4b
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: edb708fbf100 ("ARM: ixp4xx: Convert to SPARSE_IRQ")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-ixp4xx/goramo_mlr.c
arch/arm/mach-ixp4xx/miccpt-pci.c
arch/arm/mach-ixp4xx/omixp-setup.c
arch/arm/mach-ixp4xx/vulcan-pci.c
arch/arm/mach-ixp4xx/vulcan-setup.c