Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
0004  *
0005  * Author: Lee Jones <lee.jones@linaro.org>
0006  */
0007 
0008 #ifndef __LINUX_CLK_SPEAR_H
0009 #define __LINUX_CLK_SPEAR_H
0010 
0011 #ifdef CONFIG_MACH_SPEAR1310
0012 void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base);
0013 #else
0014 static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {}
0015 #endif
0016 
0017 #ifdef CONFIG_MACH_SPEAR1340
0018 void __init spear1340_clk_init(void __iomem *misc_base);
0019 #else
0020 static inline void spear1340_clk_init(void __iomem *misc_base) {}
0021 #endif
0022 
0023 #endif