mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
sh: IPR/INTC2 IRQ setup consolidation.
This patch unifies the cpu specific interrupt setup functions for interrupt controller blocks such as ipr, intc2 and intc. There is no point in having separate functions for each interrupt controller, so let's clean this up. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
493a358e0a
commit
90015c8938
13 changed files with 15 additions and 26 deletions
|
|
@ -23,7 +23,6 @@ struct intc2_desc {
|
|||
};
|
||||
|
||||
void register_intc2_controller(struct intc2_desc *);
|
||||
void init_IRQ_intc2(void);
|
||||
|
||||
struct ipr_data {
|
||||
unsigned char irq;
|
||||
|
|
@ -41,7 +40,6 @@ struct ipr_desc {
|
|||
};
|
||||
|
||||
void register_ipr_controller(struct ipr_desc *);
|
||||
void init_IRQ_ipr(void);
|
||||
|
||||
/*
|
||||
* Enable individual interrupt mode for external IPR IRQs.
|
||||
|
|
@ -115,4 +113,6 @@ struct intc_desc symbol = { \
|
|||
|
||||
void __init register_intc_controller(struct intc_desc *desc);
|
||||
|
||||
void __init plat_irq_setup(void);
|
||||
|
||||
#endif /* __ASM_SH_HW_IRQ_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue