aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-17 05:48:57 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 05:10:35 -0400
commit5c8f9d94fea98596db255a579f5d02a0195abda7 (patch)
treee9a7b24b43cf745ff16b32a625630bc92b167618 /include
parentc46acb8e2093779bda393f028099477f98cfef3c (diff)
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')
-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 {
30 30
31 unsigned long rate; 31 unsigned long rate;
32 unsigned long flags; 32 unsigned long flags;
33 unsigned long arch_flags;
33}; 34};
34 35
35#define CLK_ALWAYS_ENABLED (1 << 0) 36#define CLK_ALWAYS_ENABLED (1 << 0)