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 608fda55c0ea729c615f35e2382186b24ce0c800..252f15540ddb61ce4f50811a0dad0c56e9ed7a77 100644 (file)
@@ -30,6 +30,7 @@ struct clk {
 
        unsigned long           rate;
        unsigned long           flags;
+       unsigned long           arch_flags;
 };
 
 #define CLK_ALWAYS_ENABLED     (1 << 0)