Commit | Line | Data |
---|---|---|
f2ad937b LJ |
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* | |
3 | * Copyright (C) 2020 STMicroelectronics - All Rights Reserved | |
4 | * | |
5 | * Author: Lee Jones <lee.jones@linaro.org> | |
6 | */ | |
7 | ||
8 | #ifndef __LINUX_CLK_SPEAR_H | |
9 | #define __LINUX_CLK_SPEAR_H | |
10 | ||
11 | #ifdef CONFIG_MACH_SPEAR1310 | |
12 | void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base); | |
13 | #else | |
14 | static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {} | |
15 | #endif | |
16 | ||
17 | #ifdef CONFIG_MACH_SPEAR1340 | |
18 | void __init spear1340_clk_init(void __iomem *misc_base); | |
19 | #else | |
20 | static inline void spear1340_clk_init(void __iomem *misc_base) {} | |
21 | #endif | |
22 | ||
23 | #endif |