]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/irqchip/irqchip.c
Merge branch 'drm-fixes-3.15' of git://people.freedesktop.org/~deathsimple/linux...
[mirror_ubuntu-artful-kernel.git] / drivers / irqchip / irqchip.c
CommitLineData
f6e916b8
TP
1/*
2 * Copyright (C) 2012 Thomas Petazzoni
3 *
4 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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
11#include <linux/init.h>
12#include <linux/of_irq.h>
559ba4b1 13#include <linux/irqchip.h>
f6e916b8 14
f6e916b8
TP
15/*
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.
20 */
21static const struct of_device_id
22irqchip_of_match_end __used __section(__irqchip_of_end);
23
24extern struct of_device_id __irqchip_begin[];
25
26void __init irqchip_init(void)
27{
28 of_irq_init(__irqchip_begin);
29}