summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/clock.h
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@stericsson.com>2010-12-03 18:18:39 +0100
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-20 13:32:45 +0100
commit763eef8b5b64dbbfc0f6273af9a57024069785a9 (patch)
tree3e24b74aad069a1d3248ac78d53da3bd8944a233 /arch/arm/mach-ux500/clock.h
parentabda3a24a99998279fe890ea8a789ebe4d605d78 (diff)
ux500: add debugfs support for powerdebug
Signed-off-by: Vincent Guittot <vincent.guittot@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/clock.h')
-rw-r--r--arch/arm/mach-ux500/clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h
index a05802501527..074490705229 100644
--- a/arch/arm/mach-ux500/clock.h
+++ b/arch/arm/mach-ux500/clock.h
@@ -90,6 +90,10 @@ struct clk {
struct clk *parent_cluster;
struct clk *parent_periph;
+#if defined(CONFIG_DEBUG_FS)
+ struct dentry *dent; /* For visible tree hierarchy */
+ struct dentry *dent_bus; /* For visible tree hierarchy */
+#endif
};
#define DEFINE_PRCMU_CLK(_name, _cg_off, _cg_bit, _reg) \