diff options
Diffstat (limited to 'kernel/arch/arm/mach-shmobile/include/mach/irqs.h')
-rw-r--r-- | kernel/arch/arm/mach-shmobile/include/mach/irqs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-shmobile/include/mach/irqs.h b/kernel/arch/arm/mach-shmobile/include/mach/irqs.h new file mode 100644 index 000000000..5aee83f07 --- /dev/null +++ b/kernel/arch/arm/mach-shmobile/include/mach/irqs.h @@ -0,0 +1,10 @@ +#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 */ |