summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-07-31 09:24:41 +0000
committerjoe <joe@FreeBSD.org>2002-07-31 09:24:41 +0000
commit933eab6fca36a5c8b7209682d3ac3604dec545a1 (patch)
tree712cb765a313f7ae714cc81561cd777b9eb6d6f2
parentde226cac2299be7a8383843145b3f44d8b36105d (diff)
downloadFreeBSD-src-933eab6fca36a5c8b7209682d3ac3604dec545a1.zip
FreeBSD-src-933eab6fca36a5c8b7209682d3ac3604dec545a1.tar.gz
Remove trailing white spaces
Obtained from: NetBSD (1.16)
-rw-r--r--sys/dev/usb/uvisor.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/usb/uvisor.c b/sys/dev/usb/uvisor.c
index 91839d0..fb64918 100644
--- a/sys/dev/usb/uvisor.c
+++ b/sys/dev/usb/uvisor.c
@@ -9,6 +9,8 @@
* 1.12 not needed rcsids
* 1.13 already merged extra arg to usbd_do_request_flags
* 1.14 needed sony and palm support
+ * 1.15 needed sony clie
+ * 1.16 merged trailing whites
*/
/*
@@ -76,6 +78,10 @@
#define DPRINTF(x) if (uvisordebug) printf x
#define DPRINTFN(n,x) if (uvisordebug>(n)) printf x
int uvisordebug = 0;
+#ifdef SYSCTL_DECL
+SYSCTL_INT(_debug_usb, OID_AUTO, uvisor, CTLFLAG_RW,
+ &uvisordebug, 0, "uvisor debug level");
+#endif
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)
@@ -164,7 +170,7 @@ Static device_method_t uvisor_methods[] = {
DEVMETHOD(device_detach, uvisor_detach),
{ 0, 0 }
};
-
+
Static driver_t uvisor_driver = {
"usio",
@@ -363,7 +369,7 @@ uvisor_init(struct uvisor_softc *sc)
USETW(req.wValue, 0);
USETW(req.wIndex, 0);
USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE);
- err = usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,
+ err = usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,
USBD_SHORT_XFER_OK, &actlen,
USBD_DEFAULT_TIMEOUT);
if (err)
@@ -432,7 +438,7 @@ uvisor_close(void *addr, int portno)
USETW(req.wValue, 0);
USETW(req.wIndex, 0);
USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE);
- (void)usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,
+ (void)usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,
USBD_SHORT_XFER_OK, &actlen,
USBD_DEFAULT_TIMEOUT);
}
OpenPOWER on IntegriCloud