1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __IA_CSS_ISYS_IRQ_H__
17 #define __IA_CSS_ISYS_IRQ_H__
18 
19 #include <type_support.h>
20 #include <system_local.h>
21 
22 #if defined(USE_INPUT_SYSTEM_VERSION_2401)
23 
24 #ifndef __INLINE_ISYS2401_IRQ__
25 
26 #define STORAGE_CLASS_ISYS2401_IRQ_H extern
27 #define STORAGE_CLASS_ISYS2401_IRQ_C extern
28 #include "isys_irq_public.h"
29 
30 #else  /* __INLINE_ISYS2401_IRQ__ */
31 
32 #define STORAGE_CLASS_ISYS2401_IRQ_H static inline
33 #define STORAGE_CLASS_ISYS2401_IRQ_C static inline
34 #include "isys_irq_private.h"
35 
36 #endif /* __INLINE_ISYS2401_IRQ__ */
37 
38 #endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */
39 
40 #endif	/* __IA_CSS_ISYS_IRQ_H__ */
41