diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-02-14 15:52:01 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2019-02-19 19:40:52 +0530 |
commit | a98ca73ee34825c09e666a97245dedf71ca84fbd (patch) | |
tree | 512c420a7716994420cb3764bb927ab1adf23a79 /arch/arm/mach-s3c24xx/s3c2412.c | |
parent | fb746842f60350f4654b265364c022219614239c (diff) |
ARM: davinci: wrap HW interrupt numbers with a macro
Once we select SPARSE_IRQ, the interrupt numbers defined in mach/irqs.h
will only signify the hardware interrupt offsets, not the interrupt
numbers seen by linux. Introduce a wrapper macro that translates the
hwirq number to virtual numbers. For now it's just a dummy. Use that
macro when specifying the interrupts in resources for platform devices.
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-s3c24xx/s3c2412.c')
0 files changed, 0 insertions, 0 deletions