soc: samsung: Split ASV drivers into ARM and ARM64 parts
[platform/kernel/linux-exynos.git] / drivers / soc / samsung / exynos5422-asv.h
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4  *            http://www.samsung.com/
5  *
6  * Samsung Exynos 5422 SoC Adaptive Supply Voltage support
7  */
8
9 #ifndef __EXYNOS5422_ASV_H
10 #define __EXYNOS5422_ASV_H
11
12 #include <linux/errno.h>
13
14 struct exynos_asv;
15
16 #ifdef CONFIG_EXYNOS_ASV_ARM
17 int exynos5422_asv_init(struct exynos_asv *asv);
18 #else
19 static inline int exynos5422_asv_init(struct exynos_asv *asv)
20 {
21         return -ENOTSUPP;
22 }
23 #endif
24
25 #endif /* __EXYNOS5422_ASV_H */