浏览代码

ARM: tegra: clock: Add forward reference to struct clk

Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross 15 年之前
父节点
当前提交
b48b5f5156
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      arch/arm/mach-tegra/include/mach/clk.h
  2. 2 0
      arch/arm/mach-tegra/include/mach/clkdev.h

+ 2 - 0
arch/arm/mach-tegra/include/mach/clk.h

@@ -20,6 +20,8 @@
 #ifndef __MACH_CLK_H
 #ifndef __MACH_CLK_H
 #define __MACH_CLK_H
 #define __MACH_CLK_H
 
 
+struct clk;
+
 void tegra_periph_reset_deassert(struct clk *c);
 void tegra_periph_reset_deassert(struct clk *c);
 void tegra_periph_reset_assert(struct clk *c);
 void tegra_periph_reset_assert(struct clk *c);
 
 

+ 2 - 0
arch/arm/mach-tegra/include/mach/clkdev.h

@@ -20,6 +20,8 @@
 #ifndef __MACH_CLKDEV_H
 #ifndef __MACH_CLKDEV_H
 #define __MACH_CLKDEV_H
 #define __MACH_CLKDEV_H
 
 
+struct clk;
+
 static inline int __clk_get(struct clk *clk)
 static inline int __clk_get(struct clk *clk)
 {
 {
 	return 1;
 	return 1;