浏览代码

sh: Add arch_flags to struct clk

Add arch_flags to struct clk so we can keep per-clock private data
somewhere and share code between multiple clocks.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Magnus Damm 17 年之前
父节点
当前提交
5c8f9d94fe
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-sh/clock.h

+ 1 - 0
include/asm-sh/clock.h

@@ -30,6 +30,7 @@ struct clk {
 
 	unsigned long		rate;
 	unsigned long		flags;
+	unsigned long		arch_flags;
 };
 
 #define CLK_ALWAYS_ENABLED	(1 << 0)