msm: clock-local: Support enable dependencies for branch clocks
rcg clocks already support implicit enablement of a chain of
dependent clocks. Add similar support for branch clocks.
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-local.h b/arch/arm/mach-msm/clock-local.h
index 58c76e9..a19277b 100644
--- a/arch/arm/mach-msm/clock-local.h
+++ b/arch/arm/mach-msm/clock-local.h
@@ -251,6 +251,7 @@
bool enabled;
struct branch b;
struct clk *parent;
+ struct clk *depends;
struct clk c;
};