Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Simplify #ifdef.
details: https://anonhg.NetBSD.org/src/rev/d70d3a66f4e9
branches: nick-nhusb
changeset: 804258:d70d3a66f4e9
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Feb 22 14:50:07 2015 +0000
description:
Simplify #ifdef.
USB_DEBUG is defined if either of EHCI_DEBUG or OHCI_DEBUG (or others)
are defined.
diffstat:
sys/dev/usb/usbdivar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r eb9fb32a4b36 -r d70d3a66f4e9 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h Sun Feb 22 08:59:17 2015 +0000
+++ b/sys/dev/usb/usbdivar.h Sun Feb 22 14:50:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdivar.h,v 1.109.2.10 2014/12/19 09:52:35 skrll Exp $ */
+/* $NetBSD: usbdivar.h,v 1.109.2.11 2015/02/22 14:50:07 skrll Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -281,7 +281,7 @@
void usbd_init(void);
void usbd_finish(void);
-#if defined(USB_DEBUG) || defined(EHCI_DEBUG) || defined(OHCI_DEBUG)
+#if defined(USB_DEBUG)
void usbd_dump_iface(struct usbd_interface *);
void usbd_dump_device(struct usbd_device *);
void usbd_dump_endpoint(struct usbd_endpoint *);
Home |
Main Index |
Thread Index |
Old Index