generic.h (f6fb7af4768bc1ddc2349f6eaefedd746c8e4913) | generic.h (b9e25aced33eeb7279ccbaef198f28370cfb4e93) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/generic.h 3 * 4 * Author: Nicolas Pitre 5 * Copyright: MontaVista Software Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 | 1/* 2 * linux/arch/arm/mach-pxa/generic.h 3 * 4 * Author: Nicolas Pitre 5 * Copyright: MontaVista Software Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 |
12typedef int (*set_wake_t)(unsigned int, unsigned int); 13 |
|
12struct sys_timer; 13 14extern struct sys_timer pxa_timer; | 14struct sys_timer; 15 16extern struct sys_timer pxa_timer; |
15extern void __init pxa_init_irq(int irq_nr); 16extern void __init pxa_init_irq_gpio(int gpio_nr); 17extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int)); 18extern void __init pxa_init_gpio_set_wake(int (*set_wake)(unsigned int, unsigned int)); 19extern void __init pxa_init_gpio(int gpio_nr); | 17extern void __init pxa_init_irq(int irq_nr, set_wake_t fn); 18extern void __init pxa_init_gpio(int gpio_nr, set_wake_t fn); |
20extern void __init pxa25x_init_irq(void); 21extern void __init pxa27x_init_irq(void); 22extern void __init pxa3xx_init_irq(void); 23extern void __init pxa_map_io(void); 24 25extern unsigned int get_clk_frequency_khz(int info); 26extern int pxa_last_gpio; 27 --- 31 unchanged lines hidden --- | 19extern void __init pxa25x_init_irq(void); 20extern void __init pxa27x_init_irq(void); 21extern void __init pxa3xx_init_irq(void); 22extern void __init pxa_map_io(void); 23 24extern unsigned int get_clk_frequency_khz(int info); 25extern int pxa_last_gpio; 26 --- 31 unchanged lines hidden --- |