Module Name: src Committed By: aymeric Date: Fri Nov 4 17:11:19 UTC 2011
Modified Files: src/sys/arch/arm/at91: at91tctmr.c Log Message: make compile by disabling yet more things To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/at91/at91tctmr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/at91/at91tctmr.c diff -u src/sys/arch/arm/at91/at91tctmr.c:1.5 src/sys/arch/arm/at91/at91tctmr.c:1.6 --- src/sys/arch/arm/at91/at91tctmr.c:1.5 Fri Jul 1 19:31:17 2011 +++ src/sys/arch/arm/at91/at91tctmr.c Fri Nov 4 17:11:19 2011 @@ -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 @@ struct at91tctmr_softc { }; static struct at91tctmr_softc *at91tctmr_sc = NULL; +#if 0 static struct timeval lasttv; +#endif @@ -151,6 +153,7 @@ WRITE_TC(struct at91tctmr_softc *sc, uin 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 @@ static struct timecounter at91tctmr_time NULL, /* prev */ NULL, /* next */ }; +#endif static int at91tctmr_match(device_t parent, cfdata_t match, void *aux)