Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/at91 make compile by disabling yet more things



details:   https://anonhg.NetBSD.org/src/rev/e05357f3ad96
branches:  trunk
changeset: 770964:e05357f3ad96
user:      aymeric <aymeric%NetBSD.org@localhost>
date:      Fri Nov 04 17:11:19 2011 +0000

description:
make compile by disabling yet more things

diffstat:

 sys/arch/arm/at91/at91tctmr.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 08111f83f4ee -r e05357f3ad96 sys/arch/arm/at91/at91tctmr.c
--- a/sys/arch/arm/at91/at91tctmr.c     Fri Nov 04 15:48:10 2011 +0000
+++ b/sys/arch/arm/at91/at91tctmr.c     Fri Nov 04 17:11:19 2011 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: at91tctmr.c,v 1.5 2011/07/01 19:31:17 dyoung Exp $*/
+/*$NetBSD: at91tctmr.c,v 1.6 2011/11/04 17:11:19 aymeric Exp $*/
 
 /*
  * AT91 Timer Counter (TC) based clock functions
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91tctmr.c,v 1.5 2011/07/01 19:31:17 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91tctmr.c,v 1.6 2011/11/04 17:11:19 aymeric Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -90,7 +90,9 @@
 };
 
 static struct at91tctmr_softc *at91tctmr_sc = NULL;
+#if 0
 static struct timeval lasttv;
+#endif
 
     
     
@@ -151,6 +153,7 @@
 CFATTACH_DECL_NEW(at91tctmr, sizeof(struct at91tctmr_softc),
     at91tctmr_match, at91tctmr_attach, NULL, NULL);
 
+#if 0
 static u_int at91tctmr_get_timecount(struct timecounter *);
 
 static struct timecounter at91tctmr_timecounter = {
@@ -163,6 +166,7 @@
        NULL,                   /* prev */
        NULL,                   /* next */
 };
+#endif
 
 static int
 at91tctmr_match(device_t parent, cfdata_t match, void *aux)



Home | Main Index | Thread Index | Old Index