Merge tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6.git] / drivers / irqchip / irqchip.c
blobf496afce29deba24b782c4cc108d39b8312c2f46
1 /*
2 * Copyright (C) 2012 Thomas Petazzoni
4 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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 */
11 #include <linux/init.h>
12 #include <linux/of_irq.h>
14 #include "irqchip.h"
17 * This special of_device_id is the sentinel at the end of the
18 * of_device_id[] array of all irqchips. It is automatically placed at
19 * the end of the array by the linker, thanks to being part of a
20 * special section.
22 static const struct of_device_id
23 irqchip_of_match_end __used __section(__irqchip_of_end);
25 extern struct of_device_id __irqchip_begin[];
27 void __init irqchip_init(void)
29 of_irq_init(__irqchip_begin);