summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-06-11 09:26:56 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-06-11 09:26:56 +0000
commitea0bf5b57ba8cf44f700050f77c833ace5349d99 (patch)
treec0cda4a5b99b01ee4e78efeeb49752459eef76fc /sys/dev/usb/usb.c
parented7bcc17fa6abb14c9e0cfc59ed9caaf3a9f4491 (diff)
More USB cleanup: In usb_port.h, get rid of the sel_klist #define
(which was there twice without gcc complaining) and update all uses of it. ok jsg mbalmer
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index ba562e5d241..ff47575c85e 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb.c,v 1.48 2007/06/10 17:46:27 mbalmer Exp $ */
+/* $OpenBSD: usb.c,v 1.49 2007/06/11 09:26:55 mk Exp $ */
/* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */
/*
@@ -599,7 +599,7 @@ filt_usbrdetach(struct knote *kn)
int s;
s = splusb();
- SLIST_REMOVE(&usb_selevent.sel_klist, kn, knote, kn_selnext);
+ SLIST_REMOVE(&usb_selevent.si_note, kn, knote, kn_selnext);
splx(s);
}
@@ -627,7 +627,7 @@ usbkqfilter(dev_t dev, struct knote *kn)
case EVFILT_READ:
if (minor(dev) != USB_DEV_MINOR)
return (1);
- klist = &usb_selevent.sel_klist;
+ klist = &usb_selevent.si_note;
kn->kn_fop = &usbread_filtops;
break;