diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-10-06 04:35:48 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-10-06 04:35:48 -0400 |
commit | 525ccc452c79db41874c5edac3f67618a0997d6f (patch) | |
tree | 937987eae54debb7b23d4473089229a798bacc32 /include | |
parent | 580410005daecd8e9f0e1baa9ddadbb7f706e7e2 (diff) |
sh: Convert INTC2 IRQ handler to irq_chip.
More struct irq_chip conversions, this time the INTC2 handlers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/irq.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/asm-sh/irq.h b/include/asm-sh/irq.h index 0e5f365aff70..28996f9c58cc 100644 --- a/include/asm-sh/irq.h +++ b/include/asm-sh/irq.h | |||
@@ -697,13 +697,15 @@ extern int ipr_irq_demux(int irq); | |||
697 | 697 | ||
698 | #define INTC2_INTPRI_OFFSET 0x00 | 698 | #define INTC2_INTPRI_OFFSET 0x00 |
699 | 699 | ||
700 | void make_intc2_irq(unsigned int irq, | 700 | struct intc2_data { |
701 | unsigned int ipr_offset, unsigned int ipr_shift, | 701 | unsigned short irq; |
702 | unsigned int msk_offset, unsigned int msk_shift, | 702 | unsigned char ipr_offset, ipr_shift; |
703 | unsigned int priority); | 703 | unsigned char msk_offset, msk_shift; |
704 | unsigned char priority; | ||
705 | }; | ||
706 | |||
707 | void make_intc2_irq(struct intc2_data *); | ||
704 | void init_IRQ_intc2(void); | 708 | void init_IRQ_intc2(void); |
705 | void intc2_add_clear_irq(int irq, int (*fn)(int)); | ||
706 | |||
707 | #endif | 709 | #endif |
708 | 710 | ||
709 | extern int shmse_irq_demux(int irq); | 711 | extern int shmse_irq_demux(int irq); |