Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Set DBCOOL_DEBUG if global DEBUG is set
details: https://anonhg.NetBSD.org/src/rev/02d0ea7b3b1e
branches: trunk
changeset: 763157:02d0ea7b3b1e
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Mar 11 17:12:43 2011 +0000
description:
Set DBCOOL_DEBUG if global DEBUG is set
diffstat:
sys/dev/i2c/dbcool_var.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 1270368bc560 -r 02d0ea7b3b1e sys/dev/i2c/dbcool_var.h
--- a/sys/dev/i2c/dbcool_var.h Fri Mar 11 16:41:27 2011 +0000
+++ b/sys/dev/i2c/dbcool_var.h Fri Mar 11 17:12:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool_var.h,v 1.12 2010/04/10 19:02:39 pgoyette Exp $ */
+/* $NetBSD: dbcool_var.h,v 1.13 2011/03/11 17:12:43 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,12 +36,12 @@
#ifndef DBCOOLVAR_H
#define DBCOOLVAR_H
-/*
+#ifdef DEBUG
#define DBCOOL_DEBUG
-*/
+#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool_var.h,v 1.12 2010/04/10 19:02:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool_var.h,v 1.13 2011/03/11 17:12:43 pgoyette Exp $");
#include <dev/i2c/i2cvar.h>
Home |
Main Index |
Thread Index |
Old Index