From 763eef8b5b64dbbfc0f6273af9a57024069785a9 Mon Sep 17 00:00:00 2001 From: Vincent Guittot Date: Fri, 3 Dec 2010 18:18:39 +0100 Subject: ux500: add debugfs support for powerdebug Signed-off-by: Vincent Guittot Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/clock.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-ux500/clock.h') diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h index a0580250152..07449070522 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) \ -- cgit v1.2.3-70-g09d2