1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Copyright (c) 2020 Rockchip Electronics Co. Ltd. 4 */ 5 6 #ifndef __LINUX_CLK_ROCKCHIP_H_ 7 #define __LINUX_CLK_ROCKCHIP_H_ 8 9 #ifdef CONFIG_ROCKCHIP_CLK_COMPENSATION 10 int rockchip_pll_clk_compensation(struct clk *clk, int ppm); 11 #else rockchip_pll_clk_compensation(struct clk * clk,int ppm)12static inline int rockchip_pll_clk_compensation(struct clk *clk, int ppm) 13 { 14 return -ENOSYS; 15 } 16 #endif 17 18 #endif /* __LINUX_CLK_ROCKCHIP_H_ */ 19