diff options
Diffstat (limited to 'arch/arm/mach-omap1/clock.c')
-rw-r--r-- | arch/arm/mach-omap1/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c index 43e3e188f521..fa512413a471 100644 --- a/arch/arm/mach-omap1/clock.c +++ b/arch/arm/mach-omap1/clock.c | |||
@@ -1011,17 +1011,17 @@ static int clk_debugfs_register_one(struct clk *c) | |||
1011 | return -ENOMEM; | 1011 | return -ENOMEM; |
1012 | c->dent = d; | 1012 | c->dent = d; |
1013 | 1013 | ||
1014 | d = debugfs_create_u8("usecount", S_IRUGO, c->dent, (u8 *)&c->usecount); | 1014 | d = debugfs_create_u8("usecount", S_IRUGO, c->dent, &c->usecount); |
1015 | if (!d) { | 1015 | if (!d) { |
1016 | err = -ENOMEM; | 1016 | err = -ENOMEM; |
1017 | goto err_out; | 1017 | goto err_out; |
1018 | } | 1018 | } |
1019 | d = debugfs_create_u32("rate", S_IRUGO, c->dent, (u32 *)&c->rate); | 1019 | d = debugfs_create_ulong("rate", S_IRUGO, c->dent, &c->rate); |
1020 | if (!d) { | 1020 | if (!d) { |
1021 | err = -ENOMEM; | 1021 | err = -ENOMEM; |
1022 | goto err_out; | 1022 | goto err_out; |
1023 | } | 1023 | } |
1024 | d = debugfs_create_x32("flags", S_IRUGO, c->dent, (u32 *)&c->flags); | 1024 | d = debugfs_create_x8("flags", S_IRUGO, c->dent, &c->flags); |
1025 | if (!d) { | 1025 | if (!d) { |
1026 | err = -ENOMEM; | 1026 | err = -ENOMEM; |
1027 | goto err_out; | 1027 | goto err_out; |