diff options
| author | 2014-05-19 06:54:34 +0000 | |
|---|---|---|
| committer | 2014-05-19 06:54:34 +0000 | |
| commit | 75ee33bd2b9fb55287435c9cdda79940e021d36c (patch) | |
| tree | 3177993785bff0cebdbc40f57b5c658baad44f1d /sys/dev/usb/uhci.c | |
| parent | Update run(4) firmware to version 0.33, with permission from Dennis Lee (diff) | |
| download | wireguard-openbsd-75ee33bd2b9fb55287435c9cdda79940e021d36c.tar.xz wireguard-openbsd-75ee33bd2b9fb55287435c9cdda79940e021d36c.zip | |
unbreak the build when DIAGNOSTIC is not defined
allows ramdisk kernels to build again
Diffstat (limited to 'sys/dev/usb/uhci.c')
| -rw-r--r-- | sys/dev/usb/uhci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 04d6f0f2dd6..6f481f04736 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci.c,v 1.119 2014/05/18 17:10:27 mpi Exp $ */ +/* $OpenBSD: uhci.c,v 1.120 2014/05/19 06:54:34 jsg Exp $ */ /* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -572,7 +572,9 @@ uhci_activate(struct device *self, int act) int uhci_detach(struct device *self, int flags) { +#ifdef DIAGNOSTIC struct uhci_softc *sc = (struct uhci_softc *)self; +#endif int rv; rv = config_detach_children(self, flags); |
