Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/include Fix doc comment for sh_clock_init.



details:   https://anonhg.NetBSD.org/src/rev/5b9cb4b65f20
branches:  trunk
changeset: 935855:5b9cb4b65f20
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jul 11 03:53:32 2020 +0000

description:
Fix doc comment for sh_clock_init.

Forgot to update it back in 2006 when sh3 ports were converted to
todr(9) and its second argument (struct rtc_ops) was removed.

diffstat:

 sys/arch/sh3/include/clock.h |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r d7ab316edd33 -r 5b9cb4b65f20 sys/arch/sh3/include/clock.h
--- a/sys/arch/sh3/include/clock.h      Sat Jul 11 02:19:31 2020 +0000
+++ b/sys/arch/sh3/include/clock.h      Sat Jul 11 03:53:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.h,v 1.4 2008/04/28 20:23:35 martin Exp $ */
+/*     $NetBSD: clock.h,v 1.5 2020/07/11 03:53:32 uwe Exp $    */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,14 +30,11 @@
  */
 
 /*
- * void sh_clock_init(int flags, struct rtc_ops *):
+ * void sh_clock_init(int flags):
  *   flags:
  *     SH_CLOCK_NORTC          ... If SH RTC module is disabled, set this.
  *                                 internal module don't use RTCCLK.
  *     SH_CLOCK_NOINITTODR     ... Don't initialize RTC time.
- *   rtc_ops:
- *     Machine dependent RTC ops pointer. If NULL is specified, use SH
- *     internal RTC.
  *
  * void machine_clock_init(void):
  *     Implement machine specific part of clock routines.



Home | Main Index | Thread Index | Old Index