Linux-libre 4.14.14-gnu
[librecmc/linux-libre.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / isys_irq.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef __IA_CSS_ISYS_IRQ_H__
16 #define __IA_CSS_ISYS_IRQ_H__
17
18 #include <type_support.h>
19 #include <storage_class.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 STORAGE_CLASS_EXTERN
27 #define STORAGE_CLASS_ISYS2401_IRQ_C STORAGE_CLASS_EXTERN
28 #include "isys_irq_public.h"
29
30 #else  /* __INLINE_ISYS2401_IRQ__ */
31
32 #define STORAGE_CLASS_ISYS2401_IRQ_H STORAGE_CLASS_INLINE
33 #define STORAGE_CLASS_ISYS2401_IRQ_C STORAGE_CLASS_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__ */