aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-12-01 03:59:49 -0500
committerChris Zankel <chris@zankel.net>2014-01-14 13:19:56 -0500
commitcbd1de2e8e46207cead11034f92ea8a018b11189 (patch)
treeaba9a9486122ed6bf3a849365424742645ad5766 /include
parentc8f3a7dc0102fc9f89cc373c6dd7beb49916a695 (diff)
xtensa: move built-in PIC to drivers/irqchip
Extract xtensa built-in interrupt controller implementation from xtensa/kernel/irq.c and move it to other irqchips, providing way to instantiate it from the device tree. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/irqchip/xtensa-pic.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/irqchip/xtensa-pic.h b/include/linux/irqchip/xtensa-pic.h
new file mode 100644
index 000000000000..48718ae5ab68
--- /dev/null
+++ b/include/linux/irqchip/xtensa-pic.h
@@ -0,0 +1,18 @@
1/*
2 * Xtensa built-in interrupt controller
3 *
4 * Copyright (C) 2002 - 2013 Tensilica, Inc.
5 * Copyright (C) 1992, 1998 Linus Torvalds, Ingo Molnar
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
9 * for more details.
10 */
11
12#ifndef __LINUX_IRQCHIP_XTENSA_PIC_H
13#define __LINUX_IRQCHIP_XTENSA_PIC_H
14
15struct device_node;
16int xtensa_pic_init_legacy(struct device_node *interrupt_parent);
17
18#endif /* __LINUX_IRQCHIP_XTENSA_PIC_H */