mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
b6bab1263c
Move most of irqs.h so it can be used as #include "irqs.h" instead of the old style #include <mach/irqs.h>. Legacy code in drivers/pinctrl needs more work to get rid of the "mach" portion of the include path, so some part is left in the original location. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> [horms+renesas@verge.net.au: Do not add trailing blank line to irqs.h] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
11 lines
247 B
C
11 lines
247 B
C
#ifndef __ASM_MACH_IRQS_H
|
|
#define __ASM_MACH_IRQS_H
|
|
|
|
/* Stuck here until drivers/pinctl/sh-pfc gets rid of legacy code */
|
|
|
|
/* External IRQ pins */
|
|
#define IRQPIN_BASE 2000
|
|
#define irq_pin(nr) ((nr) + IRQPIN_BASE)
|
|
|
|
#endif /* __ASM_MACH_IRQS_H */
|