sh: Add arch_flags to struct clk
authorMagnus Damm <damm@igel.co.jp>
Thu, 17 Jul 2008 09:48:57 +0000 (18:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:35 +0000 (18:10 +0900)
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>
include/asm-sh/clock.h

index 608fda5..252f155 100644 (file)
@@ -30,6 +30,7 @@ struct clk {
 
        unsigned long           rate;
        unsigned long           flags;
+       unsigned long           arch_flags;
 };
 
 #define CLK_ALWAYS_ENABLED     (1 << 0)