summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-17 18:48:57 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:35 +0900
commit5c8f9d94fea98596db255a579f5d02a0195abda7 (patch)
treee9a7b24b43cf745ff16b32a625630bc92b167618
parentc46acb8e2093779bda393f028099477f98cfef3c (diff)
downloadlinux-5c8f9d94fea98596db255a579f5d02a0195abda7.tar.bz2
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>
-rw-r--r--include/asm-sh/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sh/clock.h b/include/asm-sh/clock.h
index 608fda55c0ea..252f15540ddb 100644
--- a/include/asm-sh/clock.h
+++ b/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)