diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2011-11-21 13:37:31 -0500 |
---|---|---|
committer | Cyril Chemparathy <cyril@ti.com> | 2012-09-21 10:43:59 -0400 |
commit | 8a7859a3511be10bc6dfc0f6d2331488d2400529 (patch) | |
tree | ae0af606ec5236b4b495752513c8bacab35ae45d | |
parent | e711507bf9adcaa800d6efcb9b99839a2ed45b68 (diff) | |
download | linux-keystone-8a7859a3511be10bc6dfc0f6d2331488d2400529.tar.gz |
davinci: make clock names larger
To allow for a longer clock name to match with the SoC definitions, the
CLKNAME_MAX is increased to 25 so that CLKNAME_MAX + NEST_DELTA * NEST_MAX
is now 31 characters. This is needed so that dump_clck() will not truncate
the clock names when displayed through debugfs.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
-rw-r--r-- | arch/arm/mach-davinci/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/clock.c b/arch/arm/mach-davinci/clock.c index 34668ead53c73b..fc81a90269acc2 100644 --- a/arch/arm/mach-davinci/clock.c +++ b/arch/arm/mach-davinci/clock.c @@ -594,7 +594,7 @@ int __init davinci_clk_init(struct clk_lookup *clocks) #include <linux/debugfs.h> #include <linux/seq_file.h> -#define CLKNAME_MAX 10 /* longest clock name */ +#define CLKNAME_MAX 25 /* longest clock name */ #define NEST_DELTA 2 #define NEST_MAX 4 |