summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/clock.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-17 11:48:57 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 11:10:35 +0200
commit5c8f9d94fea98596db255a579f5d02a0195abda7 (patch)
treee9a7b24b43cf745ff16b32a625630bc92b167618 /include/asm-sh/clock.h
parentfix sh ptep_get_and_clear breakage (diff)
downloadlinux-5c8f9d94fea98596db255a579f5d02a0195abda7.tar.xz
linux-5c8f9d94fea98596db255a579f5d02a0195abda7.zip
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 '')
-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)