diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-14 15:52:03 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-02-19 15:14:02 +0100 |
commit | 544ca0b0d8248d8b48c4815e1ad88dd2796ae6ce (patch) | |
tree | 482a815e868a7cebb85364d8a82dd3214640f488 /arch/arm/mach-davinci/irq.c | |
parent | ARM: davinci: select SPARSE_IRQ (diff) | |
download | linux-544ca0b0d8248d8b48c4815e1ad88dd2796ae6ce.tar.xz linux-544ca0b0d8248d8b48c4815e1ad88dd2796ae6ce.zip |
ARM: davinci: make irqs.h a local header
The existence of irqs.h in mach-davinci/include/mach only makes sense
without SPARSE_IRQ as it's then expected to define NR_IRQS and is
included from asm/irq.h. As we now support SPARSE_IRQ, this header can
be moved to mach-davinci and used as the source of HW interrupt numbers.
While updating the includes in various files - also rearrange the
headers by directory (linux/asm/mach).
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/irq.c')
-rw-r--r-- | arch/arm/mach-davinci/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c index 34b0eec4de4e..5bfbd9c70a2e 100644 --- a/arch/arm/mach-davinci/irq.c +++ b/arch/arm/mach-davinci/irq.c @@ -28,10 +28,11 @@ #include <mach/hardware.h> #include <mach/cputype.h> #include <mach/common.h> -#include <mach/irqs.h> #include <asm/mach/irq.h> #include <asm/exception.h> +#include "irqs.h" + #define FIQ_REG0_OFFSET 0x0000 #define FIQ_REG1_OFFSET 0x0004 #define IRQ_REG0_OFFSET 0x0008 |