lkml.org 
[lkml]   [2013]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectclocksource: fix comment for __clocksource_updatefreq_scale
The functions clocksource_updatefreq_hz() and clocksource_updatefreq_khz()
do not exist. The proper ones are __clocksource_updatefreq_hz() and
__clocksource_updatefreq_khz().

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
kernel/time/clocksource.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 50a8736..d2f6ddc 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -714,7 +714,8 @@ static void clocksource_enqueue(struct clocksource *cs)
* This should only be called from the clocksource->enable() method.
*
* This *SHOULD NOT* be called directly! Please use the
- * clocksource_updatefreq_hz() or clocksource_updatefreq_khz helper functions.
+ * __clocksource_updatefreq_hz() or __clocksource_updatefreq_khz helper
+ * functions.
*/
void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq)
{
--
1.8.2.1



\
 
 \ /
  Last update: 2013-09-17 11:41    [W:0.031 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site