summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2007-06-11 09:26:55 +0000
committermk <mk@openbsd.org>2007-06-11 09:26:55 +0000
commit6de6d4e6c4df5d58e4f171f03cda55e215fa986f (patch)
tree18fa7be558b76eed55620742310af7e5435919fe /sys/dev/usb/uhid.c
parentprepare more stuff to be able to deal with UpdateSets directly (diff)
downloadwireguard-openbsd-6de6d4e6c4df5d58e4f171f03cda55e215fa986f.tar.xz
wireguard-openbsd-6de6d4e6c4df5d58e4f171f03cda55e215fa986f.zip
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/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index aa0d9643a92..9dee93d92f6 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhid.c,v 1.35 2007/06/10 10:53:48 mbalmer Exp $ */
+/* $OpenBSD: uhid.c,v 1.36 2007/06/11 09:26:55 mk Exp $ */
/* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -559,7 +559,7 @@ filt_uhidrdetach(struct knote *kn)
int s;
s = splusb();
- SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext);
+ SLIST_REMOVE(&sc->sc_rsel.si_note, kn, knote, kn_selnext);
splx(s);
}
@@ -592,12 +592,12 @@ uhidkqfilter(dev_t dev, struct knote *kn)
switch (kn->kn_filter) {
case EVFILT_READ:
- klist = &sc->sc_rsel.sel_klist;
+ klist = &sc->sc_rsel.si_note;
kn->kn_fop = &uhidread_filtops;
break;
case EVFILT_WRITE:
- klist = &sc->sc_rsel.sel_klist;
+ klist = &sc->sc_rsel.si_note;
kn->kn_fop = &uhid_seltrue_filtops;
break;