From 436c3878418ff484ce852c82847b238ef3f73341 Mon Sep 17 00:00:00 2001 From: Amit Daniel Kachhap Date: Wed, 12 Jan 2011 13:40:04 +0900 Subject: ARM: SAMSUNG: Add support for clock debugging through debug-fs interface This patch adds support for clock information exposed to debug-fs interface. Signed-off-by: Amit Daniel Kachhap [kgene.kim@samsung.com: removed useless empty lines] Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/include/plat/clock.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/plat-samsung/include/plat/clock.h') diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h index 0fbcd0effd8..9a82b887491 100644 --- a/arch/arm/plat-samsung/include/plat/clock.h +++ b/arch/arm/plat-samsung/include/plat/clock.h @@ -47,6 +47,9 @@ struct clk { struct clk_ops *ops; int (*enable)(struct clk *, int enable); +#if defined(CONFIG_PM_DEBUG) && defined(CONFIG_DEBUG_FS) + struct dentry *dent; /* For visible tree hierarchy */ +#endif }; /* other clocks which may be registered by board support */ -- cgit v1.2.3