1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (c) 2017 Chen-Yu Tsai. All rights 3 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. 4 */ 4 */ 5 5 6 #ifndef _LINUX_CLK_SUNXI_NG_H_ 6 #ifndef _LINUX_CLK_SUNXI_NG_H_ 7 #define _LINUX_CLK_SUNXI_NG_H_ 7 #define _LINUX_CLK_SUNXI_NG_H_ 8 8 >> 9 #include <linux/errno.h> >> 10 >> 11 #ifdef CONFIG_SUNXI_CCU 9 int sunxi_ccu_set_mmc_timing_mode(struct clk * 12 int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode); 10 int sunxi_ccu_get_mmc_timing_mode(struct clk * 13 int sunxi_ccu_get_mmc_timing_mode(struct clk *clk); >> 14 #else >> 15 static inline int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, >> 16 bool new_mode) >> 17 { >> 18 return -ENOTSUPP; >> 19 } 11 20 12 int sun6i_rtc_ccu_probe(struct device *dev, vo !! 21 static inline int sunxi_ccu_get_mmc_timing_mode(struct clk *clk) >> 22 { >> 23 return -ENOTSUPP; >> 24 } >> 25 #endif 13 26 14 #endif 27 #endif 15 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.