Module Name:    src
Committed By:   hans
Date:           Wed Apr  9 21:02:32 UTC 2014

Modified Files:
        src/sys/arch/arm/omap: obio_com.c

Log Message:
Fix build of non-debug kernels, mark err __diagused in uart_enable().


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/omap/obio_com.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/omap/obio_com.c
diff -u src/sys/arch/arm/omap/obio_com.c:1.4 src/sys/arch/arm/omap/obio_com.c:1.5
--- src/sys/arch/arm/omap/obio_com.c:1.4	Fri Jul  1 20:30:21 2011
+++ src/sys/arch/arm/omap/obio_com.c	Wed Apr  9 21:02:31 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: obio_com.c,v 1.4 2011/07/01 20:30:21 dyoung Exp $	*/
+/*	$NetBSD: obio_com.c,v 1.5 2014/04/09 21:02:31 hans Exp $	*/
 
 /*
  * Based on arch/arm/omap/omap_com.c
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.4 2011/07/01 20:30:21 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.5 2014/04/09 21:02:31 hans Exp $");
 
 #include "opt_omap.h"
 #include "opt_com.h"
@@ -171,7 +171,7 @@ uart_enable(struct obio_attach_args *obi
 #endif
 	uint32_t fclken1;
 	uint32_t iclken1;
-	int err;
+	int err __diagused;
 	int n=-1;
 
 	KASSERT(obio != NULL);

Reply via email to