From 3a2414b79982bef8d13588e4766613aa9f083741 Mon Sep 17 00:00:00 2001 From: Antti P Miettinen Date: Wed, 9 May 2012 19:57:01 +0300 Subject: ARM: tegra: clock: Export clock minimum Add clock minimum to debugfs. Bug 917644 Change-Id: Ie088809829af2bdc81a969a034bf00847459f0ce Signed-off-by: Antti P Miettinen Reviewed-on: http://git-master/r/101555 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/clock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index 2560b8319449..66a954fb6696 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -1297,6 +1297,10 @@ static int clk_debugfs_register_one(struct clk *c) if (!d) goto err_out; + d = debugfs_create_u32("min", S_IRUGO, c->dent, (u32 *)&c->min_rate); + if (!d) + goto err_out; + d = debugfs_create_file( "parent", parent_rate_mode, c->dent, c, &parent_fops); if (!d) -- cgit v1.2.3