Module Name: src
Committed By: cegger
Date: Sat Jul 25 19:01:56 UTC 2009
Modified Files:
src/sys/dev/gpio: gpio.c
Log Message:
make this build w/ GPIO_DEBUG
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/gpio/gpio.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/dev/gpio/gpio.c
diff -u src/sys/dev/gpio/gpio.c:1.20 src/sys/dev/gpio/gpio.c:1.21
--- src/sys/dev/gpio/gpio.c:1.20 Sat Jul 25 16:41:58 2009
+++ src/sys/dev/gpio/gpio.c Sat Jul 25 19:01:55 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.20 2009/07/25 16:41:58 mbalmer Exp $ */
+/* $NetBSD: gpio.c,v 1.21 2009/07/25 19:01:55 cegger Exp $ */
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.20 2009/07/25 16:41:58 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.21 2009/07/25 19:01:55 cegger Exp $");
/*
* General Purpose Input/Output framework.
@@ -42,7 +42,7 @@
#include "locators.h"
#ifdef GPIO_DEBUG
-#define DPRINTF(n, x) do { if (gpiodebug > (n)) printf x; } while (0)
+#define DPRINTFN(n, x) do { if (gpiodebug > (n)) printf x; } while (0)
int gpiodebug = 0;
#else
#define DPRINTFN(n, x)