Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/dev/usb Revert previous. Instead, we'll just ...



details:   https://anonhg.NetBSD.org/src/rev/3fc5241a24d6
branches:  pgoyette-compat
changeset: 830530:3fc5241a24d6
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Mar 29 10:27:27 2018 +0000

description:
Revert previous.  Instead, we'll just move usbd_printBCD() to usbdi.h

diffstat:

 sys/dev/usb/usbdivar.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 4e9b17836a7a -r 3fc5241a24d6 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h    Thu Mar 29 10:15:20 2018 +0000
+++ b/sys/dev/usb/usbdivar.h    Thu Mar 29 10:27:27 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdivar.h,v 1.114.12.1 2018/03/29 10:15:20 pgoyette Exp $     */
+/*     $NetBSD: usbdivar.h,v 1.114.12.2 2018/03/29 10:27:27 pgoyette Exp $     */
 
 /*
  * Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -69,9 +69,6 @@
  *
  */
 
-#ifndef _USBDIVAR_H_
-#define _USBDIVAR_H_
-
 #include <sys/callout.h>
 #include <sys/mutex.h>
 #include <sys/bus.h>
@@ -329,7 +326,6 @@
                                     int, const int *);
 
 void           usbd_remove_device(struct usbd_device *, struct usbd_port *);
-int            usbd_printBCD(char *, size_t, int);
 usbd_status    usbd_fill_iface_data(struct usbd_device *, int, int);
 void           usb_free_device(struct usbd_device *);
 
@@ -371,5 +367,3 @@
 
 #define usbd_lock_pipe(p)      mutex_enter((p)->up_dev->ud_bus->ub_lock)
 #define usbd_unlock_pipe(p)    mutex_exit((p)->up_dev->ud_bus->ub_lock)
-
-#endif /* _USBDIVAR_H_ */



Home | Main Index | Thread Index | Old Index