OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/include/linux/sunxi-clk-prepare.h
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

12 lines
429 B
C

#ifndef _SUNXI_LINUX_CLK_PERPARE_H
#define _SUNXI_LINUX_CLK_PERPARE_H
#ifdef CONFIG_SUNXI_CLK_PREPARE
extern int sunxi_clk_enable_prepare(struct clk *clk);
extern int sunxi_clk_disable_prepare(struct clk *clk);
#else
static int sunxi_clk_enable_prepare(struct clk *clk){return 0;};
static int sunxi_clk_disable_prepare(struct clk *clk){ return 0; };
#endif /* CONFIG_SUNXI_CLK_PREPARE */
#endif /* _SUNXI_LINUX_CLK_PERPARE_H */