This source file includes following definitions.
- sunxi_ccu_set_mmc_timing_mode
- sunxi_ccu_get_mmc_timing_mode
1
2
3
4
5
6 #ifndef _LINUX_CLK_SUNXI_NG_H_
7 #define _LINUX_CLK_SUNXI_NG_H_
8
9 #include <linux/errno.h>
10
11 #ifdef CONFIG_SUNXI_CCU
12 int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode);
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 }
20
21 static inline int sunxi_ccu_get_mmc_timing_mode(struct clk *clk)
22 {
23 return -ENOTSUPP;
24 }
25 #endif
26
27 #endif