Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/playstation2/playstation2 Add missing includes, fix...



details:   https://anonhg.NetBSD.org/src/rev/5988d23c9f64
branches:  trunk
changeset: 330305:5988d23c9f64
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jul 04 08:09:47 2014 +0000

description:
Add missing includes, fix C99 struct initialization

diffstat:

 sys/arch/playstation2/playstation2/clock.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r cede6559e4b7 -r 5988d23c9f64 sys/arch/playstation2/playstation2/clock.c
--- a/sys/arch/playstation2/playstation2/clock.c        Fri Jul 04 07:59:17 2014 +0000
+++ b/sys/arch/playstation2/playstation2/clock.c        Fri Jul 04 08:09:47 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.9 2014/03/31 11:25:49 martin Exp $ */
+/*     $NetBSD: clock.c,v 1.10 2014/07/04 08:09:47 martin Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,15 +27,17 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.9 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.10 2014/07/04 08:09:47 martin Exp $");
 
 #include "debug_playstation2.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>                /* time */
+#include <sys/proc.h>
 
 #include <mips/locore.h>
+#include <mips/mips3_clock.h>
 
 #include <dev/clock_subr.h>
 #include <machine/bootinfo.h>
@@ -48,7 +50,7 @@
 cpu_initclocks(void)
 {
        struct todr_chip_handle todr = {
-               .todr_gettime_ymdhms = get_bootinfo_tod;
+               .todr_gettime_ymdhms = get_bootinfo_tod,
        };
 
        /*



Home | Main Index | Thread Index | Old Index