summaryrefslogtreecommitdiff
path: root/include/asm-sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-17 13:48:57 +0400
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 13:10:35 +0400
commit5c8f9d94fea98596db255a579f5d02a0195abda7 (patch)
treee9a7b24b43cf745ff16b32a625630bc92b167618 /include/asm-sh
parentc46acb8e2093779bda393f028099477f98cfef3c (diff)
downloadlinux-5c8f9d94fea98596db255a579f5d02a0195abda7.tar.xz
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>
Diffstat (limited to 'include/asm-sh')
-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)