Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
irq.c
Go to the documentation of this file.
1 /*
2  * arch/arm/mach-kirkwood/irq.c
3  *
4  * Kirkwood IRQ handling.
5  *
6  * This file is licensed under the terms of the GNU General Public
7  * License version 2. This program is licensed "as is" without any
8  * warranty of any kind, whether express or implied.
9  */
10 #include <linux/gpio.h>
11 #include <linux/kernel.h>
12 #include <linux/irq.h>
13 #include <linux/io.h>
14 #include <mach/bridge-regs.h>
15 #include <plat/orion-gpio.h>
16 #include <plat/irq.h>
17 
18 static int __initdata gpio0_irqs[4] = {
23 };
24 
25 static int __initdata gpio1_irqs[4] = {
29  0,
30 };
31 
33 {
36 
37  /*
38  * Initialize gpiolib for GPIOs 0-49.
39  */
41  IRQ_KIRKWOOD_GPIO_START, gpio0_irqs);
43  IRQ_KIRKWOOD_GPIO_START + 32, gpio1_irqs);
44 }