IB/mlx4: Reorder steps in RoCE GID table initialization
[linux-2.6/btrfs-unstable.git] / drivers / irqchip / irqchip.c
blob0fe2f718d81c1ddca935c4b29d2fec25ccdb8fe7
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>
13 #include <linux/irqchip.h>
16 * This special of_device_id is the sentinel at the end of the
17 * of_device_id[] array of all irqchips. It is automatically placed at
18 * the end of the array by the linker, thanks to being part of a
19 * special section.
21 static const struct of_device_id
22 irqchip_of_match_end __used __section(__irqchip_of_table_end);
24 extern struct of_device_id __irqchip_of_table[];
26 void __init irqchip_init(void)
28 of_irq_init(__irqchip_of_table);