blob: 14d79131f53dda6e6a03fe1d1e375b5b0ba45ed9 [file] [log] [blame]
Thomas Petazzonif6e916b2012-11-20 23:00:52 +01001/*
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#ifndef _LINUX_IRQCHIP_H
12#define _LINUX_IRQCHIP_H
13
Bastian Hecht0d7c1212013-05-08 15:20:04 +020014#ifdef CONFIG_IRQCHIP
Thomas Petazzonif6e916b2012-11-20 23:00:52 +010015void irqchip_init(void);
Bastian Hecht0d7c1212013-05-08 15:20:04 +020016#else
17static inline void irqchip_init(void) {}
18#endif
Thomas Petazzonif6e916b2012-11-20 23:00:52 +010019
20#endif