[ARM] 4560/1: pxa: move processor specific set_wake logic out of irq.c
a function pxa_init_irq_set_wake() was introduced, so that processor specific code could install their own version code setting PFER and PRER registers within pxa_gpio_irq_type are removed, and the edge configuration is postponed to the (*set_wake) and copies the GRER and GFER register, which will always be set up correctly by pxa_gpio_irq_type() Signed-off-by: eric miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -15,6 +15,7 @@ extern struct sys_timer pxa_timer;
|
||||
extern void __init pxa_init_irq_low(void);
|
||||
extern void __init pxa_init_irq_high(void);
|
||||
extern void __init pxa_init_irq_gpio(int gpio_nr);
|
||||
extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int));
|
||||
extern void __init pxa25x_init_irq(void);
|
||||
extern void __init pxa27x_init_irq(void);
|
||||
extern void __init pxa_map_io(void);
|
||||
|
Reference in New Issue
Block a user