b7835fee6bef2802fe590f42366e84ece69d902f
[firefly-linux-kernel-4.4.55.git] / drivers / thermal / samsung / exynos_tmu_data.h
1 /*
2  * exynos_tmu_data.h - Samsung EXYNOS tmu data header file
3  *
4  *  Copyright (C) 2013 Samsung Electronics
5  *  Amit Daniel Kachhap <amit.daniel@samsung.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22
23 #ifndef _EXYNOS_TMU_DATA_H
24 #define _EXYNOS_TMU_DATA_H
25
26 #if defined(CONFIG_CPU_EXYNOS4210)
27 extern struct exynos_tmu_platform_data const exynos4210_default_tmu_data;
28 #define EXYNOS4210_TMU_DRV_DATA (&exynos4210_default_tmu_data)
29 #else
30 #define EXYNOS4210_TMU_DRV_DATA (NULL)
31 #endif
32
33 #if (defined(CONFIG_SOC_EXYNOS5250) || defined(CONFIG_SOC_EXYNOS4412))
34 extern struct exynos_tmu_platform_data const exynos5250_default_tmu_data;
35 #define EXYNOS5250_TMU_DRV_DATA (&exynos5250_default_tmu_data)
36 #else
37 #define EXYNOS5250_TMU_DRV_DATA (NULL)
38 #endif
39
40 #endif /*_EXYNOS_TMU_DATA_H*/